Method, device, system, equipment and medium for rapid allocation of vehicle service resources
By obtaining the vehicle connection status in real time, determining the target AP and positioning the target SDN switch, generating and issuing the target routing forwarding information, it solves the problem that the vehicle cannot quickly access the required data resources when switching wireless access nodes, and realizes the rapid service resources Allocation and efficient allocation speed.
Patent Information
- Application Number
- CN202210938777.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-05
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2042-08-05
AI Technical Summary
In the prior art, a vehicle cannot quickly establish a connection with the required data resource server when switching a wireless access node, resulting in a slower access speed of data resource.
By obtaining the current connection status of the vehicle and the mobile vehicle network in real time, if the connection is disconnected, the target AP is determined based on the vehicle status information, and the target SDN switch is located in the network topology of the mobile vehicle network, and the target routing forwarding information is used to generate target routing forwarding using existing routing forwarding information. Information is sent to the target SDN switch to achieve vehicle access to the target resource server.
It realizes the rapid allocation of vehicle service resources, improves the allocation speed of service resources, and solves the problem of low efficiency in vehicle service resources allocation.
Smart Images

Figure CN115314859B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Ethernet communication technology, and in particular to a method, device, system, equipment and medium for quickly allocating service resources of a vehicle. Background Art
[0002] With the rapid development of Ethernet communication technology, the types of data resources accessed by vehicles have become very diverse. In the prior art, switches are usually used to divide vehicles and servers containing corresponding types of data resources into the same virtual local area network (VLAN), so that different vehicles can access different servers.
[0003] However, the methods used in the prior art cannot quickly establish a connection between the vehicle and the server containing the required data resources when the vehicle switches to another wireless access point (AP), such as: the vehicle needs to access all APs covered within a set range and then select one of them, resulting in a decrease in the vehicle's data resource access speed. Therefore, how to achieve rapid allocation of vehicle service resources and improve the allocation speed of service resources is a problem that needs to be solved urgently. Summary of the invention
[0004] The present invention provides a method, device, system, equipment and medium for quickly allocating service resources of a vehicle, which can solve the problem of low efficiency in allocating service resources of the vehicle.
[0005] According to one aspect of the present invention, a method for quickly allocating service resources of a vehicle is provided, comprising:
[0006] Obtain the connection status of the current vehicle and the current wireless access node AP currently connected in the mobile vehicle network in real time;
[0007] If it is determined that the connection state between the current vehicle and the current AP in the mobile vehicle network is disconnected, then determining the target AP to which the current vehicle is about to connect according to the vehicle state information of the current vehicle;
[0008] Locate the target SDN switch corresponding to the target AP in the current network topology of the mobile vehicle network, and generate the target route forwarding information when the current vehicle is connected to the target AP by using the route forwarding information generated when the current vehicle is connected to the current AP;
[0009] The target routing forwarding information is sent to the target SDN switch to enable the current vehicle to access the data resources in the target resource server.
[0010] According to another aspect of the present invention, a device for quickly allocating service resources of a vehicle is provided, comprising:
[0011] A connection status acquisition module is used to obtain the connection status of the current vehicle and the current wireless access node AP currently connected in the mobile vehicle network in real time;
[0012] A target AP acquisition module is used to determine the target AP to be connected to the current vehicle according to the vehicle status information of the current vehicle if it is determined that the connection state between the current vehicle and the current AP in the mobile vehicle network is disconnected;
[0013] An information generation module is used to locate a target SDN switch corresponding to a target AP in the current network topology of the mobile vehicle network, and to generate target routing forwarding information when the current vehicle is connected to the target AP using routing forwarding information generated when the current vehicle is connected to the current AP;
[0014] The information sending module is used to send the target routing forwarding information to the target SDN switch to enable the current vehicle to access the data resources in the target resource server.
[0015] According to another aspect of the present invention, a system for quickly allocating service resources of a vehicle is provided, comprising:
[0016] A management server, configured to carry a device for rapidly allocating service resources for a vehicle, and execute a method for rapidly allocating service resources for a vehicle according to any embodiment of the present invention;
[0017] The SDN switch is used to establish a connection between each wireless access node AP and the target resource server, so as to enable the vehicle to access the data resources in the target resource server;
[0018] Resource server, used to store data resources of different data types;
[0019] Wireless access point AP is used to establish a connection between the vehicle and the mobile Internet of Vehicles.
[0020] According to another aspect of the present invention, there is provided a management server, the management server comprising:
[0021] at least one processor; and
[0022] a memory communicatively connected to the at least one processor; wherein,
[0023] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for rapid allocation of service resources of a vehicle described in any embodiment of the present invention.
[0024] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for quickly allocating service resources of a vehicle as described in any embodiment of the present invention when executed.
[0025] The technical solution of the embodiment of the present invention obtains the connection status of the current vehicle and the current wireless access node AP currently connected in the mobile vehicle network in real time. When the connection status of the current vehicle and the current AP in the mobile vehicle network is disconnected, the target AP to which the current vehicle is about to connect is determined according to the vehicle status information of the current vehicle, so as to locate the target SDN switch corresponding to the target AP in the current network topology of the mobile vehicle network, and use the routing forwarding information generated when the current vehicle is connected to the current AP to generate the target routing forwarding information when the current vehicle is connected to the target AP. Finally, the target routing forwarding information is sent to the target SDN switch to realize the current vehicle's access to data resources in the target resource server, thereby solving the problem of low efficiency in service resource allocation of the vehicle, realizing rapid allocation of service resources for the vehicle, and improving the allocation speed of service resources.
[0026] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0028] Figure 1 is a flow chart of a method for quickly allocating service resources of a vehicle provided according to a first embodiment of the present invention;
[0029] Figure 2 is a flow chart of a method for quickly allocating service resources of a vehicle provided according to a second embodiment of the present invention;
[0030] Figure 3 is a schematic diagram of the structure of a device for quickly allocating service resources of a vehicle according to a third embodiment of the present invention;
[0031] Figure 4 is a structural diagram of a system for quickly allocating service resources of a vehicle provided according to a fourth embodiment of the present invention;
[0032] Figure 5It is a structural diagram of a management server for implementing the method for rapid allocation of service resources of a vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION
[0033] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0034] It should be noted that the terms "current", "target", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. The acquisition, storage, use, processing, etc. of data in the technical solution of this application all comply with the relevant provisions of national laws and regulations.
[0035] Embodiment 1
[0036] Figure 1 A flowchart of a method for quickly allocating service resources of a vehicle is provided for the first embodiment of the present invention. This embodiment is applicable to the case of quickly allocating service resources corresponding to a vehicle. The method can be executed by a device for quickly allocating service resources of a vehicle. The device for quickly allocating service resources of a vehicle can be implemented in the form of hardware and / or software. The device for quickly allocating service resources of a vehicle can be configured in a management server. Figure 1 As shown, the method includes:
[0037] S110, obtaining in real time the connection status of the current vehicle and the current wireless access node AP currently connected in the mobile vehicle network.
[0038] The current vehicle may refer to a vehicle that is currently connected to the mobile vehicle network, that is, a vehicle that needs to access resources. The current wireless access node may refer to the wireless access node that the current vehicle last connected to in the recent period of time, and may be, for example, the wireless access node that is most recently connected to the current vehicle. The connection state may refer to the state of the connection between the current vehicle and the current AP, and may be, for example, a connected state or a disconnected state.
[0039] S120: If it is determined that the connection state between the current vehicle and the current AP in the mobile vehicle network is disconnected, determine the target AP to which the current vehicle is about to connect based on the vehicle state information of the current vehicle.
[0040] The vehicle status information may refer to the driving status description information of the current vehicle, and may include the driving direction information of the current vehicle, or the driving route information preset by the current vehicle, etc. The target AP may refer to the AP that the current vehicle may be connected to after being disconnected from the current AP.
[0041] In an optional embodiment, determining the target AP to which the current vehicle is about to connect based on the vehicle status information of the current vehicle may include: determining the target path range based on the planned driving route and / or real-time driving direction of the current vehicle during this driving process; and determining the target AP to which the current vehicle is about to connect within the target path range based on the real-time positioning information of the current vehicle.
[0042] The target path range may refer to the path range to which the current vehicle is about to travel, which may usually be determined based on the planned driving route and / or the real-time driving direction; specifically, a route of a set length, such as 5 meters, may be determined in the planned driving route of the current vehicle during this driving process as the target path range; a route of a set length may also be determined based on the real-time driving direction of the current vehicle as the target path range; a route of a set length may also be determined in the planned driving route according to the real-time driving direction of the current vehicle as the target path range, and the embodiments of the present invention do not limit this. It is worth noting that the target path range usually includes one or more APs.
[0043] Specifically, when it is determined that the connection state between the current vehicle and the current AP in the mobile vehicle network is disconnected, the target path range of the current vehicle can be determined based on the planned driving route and / or real-time driving direction of the current vehicle during this driving process; then, the AP closest to the current vehicle is obtained in the target path range based on the real-time positioning information of the current vehicle, as the target AP to which the current vehicle is about to connect.
[0044] S130, locating the target SDN switch corresponding to the target AP in the current network topology of the mobile vehicle network, and using the routing forwarding information generated when the current vehicle is connected to the current AP, generating the target routing forwarding information when the current vehicle is connected to the target AP.
[0045] Among them, the current network topology may refer to the topological result composed of the various SDN switches in the mobile vehicle network and the connection relationship between the various SDN switches; exemplarily, it may also include the various APs to which the current vehicle is connected in the mobile vehicle network. The target SDN switch may refer to the SDN switch associated with the target AP connected to the current vehicle in the mobile vehicle network. The target routing forwarding information may refer to the routing information associated with the accessed resource server when the current vehicle is connected to the target AP. Exemplarily, it may include the resource server information accessed by the current vehicle, the data storage type of the resource server accessed by the current vehicle, and the target SDN switch information, etc.
[0046] In an optional embodiment, before locating the target SDN switch corresponding to the target AP in the current network topology of the mobile vehicle network, it also includes: determining whether the current vehicle is connected to the target AP, and if the current vehicle is connected to the target AP, obtaining the updated current network topology of the mobile vehicle network. Specifically, since the current network topology will be updated when the SDN switch is connected or disconnected, that is, when the AP is connected or disconnected, after determining the target AP to which the current vehicle is about to connect based on the vehicle status information of the current vehicle, it is necessary to monitor the connection status between the current vehicle and the target AP. If the current vehicle is connected to the target AP, the updated current network topology of the mobile vehicle network can be obtained to locate the target SDN switch corresponding to the target AP in the updated current network topology, thereby ensuring the accuracy of the target routing forwarding information.
[0047] S140: Send the target routing forwarding information to the target SDN switch to enable the current vehicle to access the data resources in the target resource server.
[0048] Specifically, after the target routing forwarding information is generated, the target routing forwarding information can be sent to the target SDN switch, so that the target SDN switch establishes a connection between the target SDN switch and the target resource server according to the target resource server information in the target routing forwarding information. Furthermore, based on the existing connection between the target SDN switch and the target AP and the connection between the target AP and the current vehicle, the current vehicle can access the data resources in the target resource server.
[0049] The technical solution of the embodiment of the present invention obtains the connection status of the current vehicle and the current wireless access node AP currently connected in the mobile vehicle network in real time. When the connection status of the current vehicle and the current AP in the mobile vehicle network is disconnected, the target AP to which the current vehicle is about to connect is determined according to the vehicle status information of the current vehicle, so as to locate the target SDN switch corresponding to the target AP in the current network topology of the mobile vehicle network, and use the routing forwarding information generated when the current vehicle is connected to the current AP to generate the target routing forwarding information when the current vehicle is connected to the target AP. Finally, the target routing forwarding information is sent to the target SDN switch to realize the current vehicle's access to data resources in the target resource server, thereby solving the problem of low efficiency in service resource allocation of the vehicle, realizing rapid allocation of service resources for the vehicle, and improving the allocation speed of service resources.
[0050] Embodiment 2
[0051] Figure 2 This is a flowchart of a method for quickly allocating service resources for a vehicle provided in the second embodiment of the present invention. This embodiment is refined based on the above embodiment. In this embodiment, the operation of locating the target SDN switch corresponding to the target AP in the current network topology of the mobile vehicle network is specifically refined, which may include: obtaining the target AP number corresponding to the current vehicle in the mobile vehicle network; obtaining the SDN switch connected to the target AP number in the current network topology as the target SDN switch. Figure 2 As shown, the method includes:
[0052] S210: Acquire in real time the connection status of the current vehicle and the current wireless access node AP currently connected in the mobile vehicle network.
[0053] S220: If it is determined that the connection state between the current vehicle and the current AP in the mobile vehicle network is disconnected, determine the target path range according to the planned driving route and / or real-time driving direction of the current vehicle during this driving process.
[0054] S230: Determine a target AP to which the current vehicle is about to connect within a target path range according to the real-time positioning information of the current vehicle.
[0055] S240: Obtain a target AP number corresponding to the current vehicle in the mobile vehicle network.
[0056] The target AP number may refer to a preset number of a target AP corresponding to the current vehicle, which may usually be obtained according to a preset AP naming rule or may be directly obtained according to corresponding storage information of the AP.
[0057] S250 . Obtain an SDN switch connected to the target AP number in the current network topology as the target SDN switch.
[0058] Specifically, after determining the target AP to which the current vehicle is about to connect, the SDN switch connected to the target AP number in the current network topology can be determined according to the target AP number and used as the target SDN switch, thereby ensuring the accuracy of information transmission.
[0059] S260: Obtain the target resource server number in the routing forwarding information generated when the current vehicle is connected to the current AP.
[0060] The target resource server number may refer to the number of the resource server that the current vehicle wants to access. Usually, the target resource server number may be determined when the current vehicle is first connected to the AP in the mobile vehicle network according to the data type that the current vehicle pre-sets to access. It is worth noting that resource servers with different numbers are used to store data resources of different data types.
[0061] S270: Combine the target resource server number and the target SDN switch number to generate target routing forwarding information when the current vehicle is connected to the target AP.
[0062] Specifically, after determining the target SDN switch, the target resource server number to be accessed by the current vehicle can be extracted from the routing forwarding information generated when the current vehicle is connected to the current AP, and combined with the target SDN switch number to generate the target routing forwarding information when the current vehicle is connected to the target AP. This can save the time cost of re-determining the resource server number according to the type of data resources to be accessed by the current vehicle, and can improve the allocation speed of service resources.
[0063] S280. Determine the target SDN switch according to the target SDN switch number in the routing forwarding information.
[0064] S290. Establish a connection between the target SDN switch and each target resource server according to the target resource server number in the routing forwarding information, so as to enable the current vehicle to access the data resources in the target resource server.
[0065] Specifically, after generating the routing forwarding information, the connection between the target resource server and the target SDN switch can be established according to the target resource server number and the target SDN switch number in the routing forwarding information. Thus, based on the existing connection between the target SDN switch and the target AP and the connection between the target AP and the current vehicle, the current vehicle can access the data resources in the target resource server.
[0066] The technical solution of the embodiment of the present invention obtains the connection status of the current vehicle and the current wireless access node AP currently connected in the mobile vehicle network in real time. When the connection status of the current vehicle and the current AP in the mobile vehicle network is disconnected, the target path range is determined according to the planned driving route and / or the real-time driving direction of the current vehicle during this driving process, and the target AP to be connected to the current vehicle is determined within the target path range according to the real-time positioning information of the current vehicle; then, the SDN switch connected to the target AP number is obtained in the current network topology as the target SDN switch, and the target resource server number in the routing forwarding information generated when the current vehicle is connected to the current AP is obtained, the target resource server number is combined with the target SDN switch number, and the target routing forwarding information when the current vehicle is connected to the target AP is generated; finally, the target SDN switch is determined according to the target SDN switch number in the routing forwarding information, and the connection between the target SDN switch and each target resource server is established according to each target resource server number in the routing forwarding information, so as to realize the current vehicle's access to the data resources in the target resource server, thereby solving the problem of low efficiency in the allocation of service resources for the vehicle, realizing rapid allocation of service resources for the vehicle, and improving the allocation speed of service resources.
[0067] Embodiment 3
[0068] Figure 3 This is a schematic diagram of the structure of a device for quickly allocating service resources of a vehicle provided by Embodiment 3 of the present invention. Figure 3 As shown, the device includes: a connection status acquisition module 310, a target AP acquisition module 320, an information generation module 330 and an information delivery module 340;
[0069] The connection status acquisition module 310 is used to obtain the connection status of the current vehicle and the current wireless access node AP currently connected in the mobile vehicle network in real time;
[0070] The target AP acquisition module 320 is used to determine the target AP to be connected to the current vehicle according to the vehicle state information of the current vehicle if it is determined that the connection state between the current vehicle and the current AP in the mobile vehicle network is disconnected;
[0071] The information generation module 330 is used to locate the target SDN switch corresponding to the target AP in the current network topology of the mobile vehicle network, and generate the target route forwarding information when the current vehicle is connected to the target AP by using the route forwarding information generated when the current vehicle is connected to the current AP;
[0072] The information sending module 340 is used to send the target routing forwarding information to the target SDN switch to enable the current vehicle to access the data resources in the target resource server.
[0073] The technical solution of the embodiment of the present invention obtains the connection status of the current vehicle and the current wireless access node AP currently connected in the mobile vehicle network in real time. When the connection status of the current vehicle and the current AP in the mobile vehicle network is disconnected, the target AP to which the current vehicle is about to connect is determined according to the vehicle status information of the current vehicle, so as to locate the target SDN switch corresponding to the target AP in the current network topology of the mobile vehicle network, and use the routing forwarding information generated when the current vehicle is connected to the current AP to generate the target routing forwarding information when the current vehicle is connected to the target AP. Finally, the target routing forwarding information is sent to the target SDN switch to realize the current vehicle's access to data resources in the target resource server, thereby solving the problem of low efficiency in service resource allocation of the vehicle, realizing rapid allocation of service resources for the vehicle, and improving the allocation speed of service resources.
[0074] Optionally, the target AP acquisition module 320 can be specifically used to: determine the target path range based on the planned driving route and / or real-time driving direction of the current vehicle during this driving process; determine the target AP to which the current vehicle is about to connect within the target path range based on the real-time positioning information of the current vehicle.
[0075] Optionally, the information generation module 330 can be specifically used to: obtain a target AP number corresponding to the current vehicle in the mobile vehicle network; obtain an SDN switch connected to the target AP number in the current network topology as the target SDN switch.
[0076] Optionally, the information generation module 330 can be specifically used to: obtain the target resource server number in the routing forwarding information generated when the current vehicle is connected to the current AP; combine the target resource server number with the target SDN switch number to generate the target routing forwarding information when the current vehicle is connected to the target AP.
[0077] Optionally, the information delivery module 340 may be specifically used to: determine the target SDN switch according to the target SDN switch number in the routing forwarding information; and establish a connection between the target SDN switch and each target resource server according to each target resource server number in the routing forwarding information.
[0078] Optionally, the vehicle's service resource rapid allocation device may also include a current network topology acquisition module, which is used to determine whether the current vehicle is connected to the target AP before locating the target SDN switch corresponding to the target AP in the current network topology of the mobile vehicle network. If the current vehicle is connected to the target AP, obtain the updated current network topology of the mobile vehicle network.
[0079] The device for rapid allocation of service resources for a vehicle provided in an embodiment of the present invention can execute the method for rapid allocation of service resources for a vehicle provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0080] Embodiment 4
[0081] Figure 4 This is a schematic diagram of the structure of a vehicle service resource rapid allocation system provided by Embodiment 4 of the present invention. Figure 4 As shown, the system includes:
[0082] A management server 410 is used to carry a device for quickly allocating service resources of a vehicle and execute a method for dynamically allocating service resources of a vehicle according to any embodiment of the present invention;
[0083] The SDN switch 420 is used to establish a connection between each wireless access node AP and a target resource server, so as to enable the vehicle to access data resources in the target resource server;
[0084] Resource server 430, used to store data resources of different data types;
[0085] The wireless access node AP440 is used to establish a connection between the vehicle and the mobile Internet of Vehicles.
[0086] The technical solution of the embodiment of the present invention obtains the connection status of the current vehicle and the current wireless access node AP currently connected in the mobile vehicle network in real time. When the connection status of the current vehicle and the current AP in the mobile vehicle network is disconnected, the target AP to which the current vehicle is about to connect is determined according to the vehicle status information of the current vehicle, so as to locate the target SDN switch corresponding to the target AP in the current network topology of the mobile vehicle network, and use the routing forwarding information generated when the current vehicle is connected to the current AP to generate the target routing forwarding information when the current vehicle is connected to the target AP. Finally, the target routing forwarding information is sent to the target SDN switch to realize the current vehicle's access to data resources in the target resource server, thereby solving the problem of low efficiency in service resource allocation of the vehicle, realizing rapid allocation of service resources for the vehicle, and improving the allocation speed of service resources.
[0087] The system for rapid allocation of service resources for vehicles provided in the embodiments of the present invention can execute the method for rapid allocation of service resources for vehicles provided in any embodiment of the present invention, and has the corresponding functions and beneficial effects of the execution method.
[0088] Embodiment 5
[0089] Figure 5 A schematic diagram of the structure of a management server provided in Embodiment 5 of the present invention is shown in FIG. Figure 5As shown, the management server includes a processor 510, a memory 520, an input device 530, and an output device 540; the number of the processor 510 in the management server can be one or more. Figure 5 A processor 510 is taken as an example; the processor 510, the memory 520, the input device 530 and the output device 540 in the management server can be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.
[0090] The memory 520, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the method for rapid allocation of service resources for a vehicle in an embodiment of the present invention (for example, the connection status acquisition module 310, the target AP acquisition module 320, the information generation module 330 and the information delivery module 340 in the device for rapid allocation of service resources for a vehicle). The processor 510 executes various functional applications and data processing of the management server by running the software programs, instructions and modules stored in the memory 520, that is, implements the method for rapid allocation of service resources for a vehicle.
[0091] The method includes:
[0092] Obtain the connection status of the current vehicle and the current wireless access node AP currently connected in the mobile vehicle network in real time;
[0093] If it is determined that the connection state between the current vehicle and the current AP in the mobile vehicle network is disconnected, then determining the target AP to which the current vehicle is about to connect according to the vehicle state information of the current vehicle;
[0094] Locate the target SDN switch corresponding to the target AP in the current network topology of the mobile vehicle network, and generate the target route forwarding information when the current vehicle is connected to the target AP by using the route forwarding information generated when the current vehicle is connected to the current AP;
[0095] The target routing forwarding information is sent to the target SDN switch to enable the current vehicle to access the data resources in the target resource server.
[0096] The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 520 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 520 may further include a memory remotely arranged relative to the processor 510, and these remote memories may be connected to a management server via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0097] The input device 530 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the management server. The output device 540 may include a display device such as a display screen.
[0098] Embodiment 6
[0099] Embodiment 6 of the present invention further provides a storage medium including computer executable instructions, wherein the computer executable instructions are used to execute a method for quickly allocating service resources of a vehicle when executed by a computer processor, the method comprising:
[0100] Obtain the connection status of the current vehicle and the current wireless access node AP currently connected in the mobile vehicle network in real time;
[0101] If it is determined that the connection state between the current vehicle and the current AP in the mobile vehicle network is disconnected, then determining the target AP to which the current vehicle is about to connect according to the vehicle state information of the current vehicle;
[0102] Locate the target SDN switch corresponding to the target AP in the current network topology of the mobile vehicle network, and generate the target route forwarding information when the current vehicle is connected to the target AP by using the route forwarding information generated when the current vehicle is connected to the current AP;
[0103] The target routing forwarding information is sent to the target SDN switch to enable the current vehicle to access the data resources in the target resource server.
[0104] Of course, the storage medium containing computer executable instructions provided in an embodiment of the present invention is not limited to the method operations described above, and can also execute related operations in the vehicle service resource rapid allocation method provided in any embodiment of the present invention.
[0105] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0106] It is worth noting that in the embodiment of the above-mentioned vehicle service resource rapid allocation device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0107] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for quickly allocating service resources of a vehicle, characterized in that: include: Acquire the connection status of the current vehicle and the current wireless access node AP currently connected in the mobile vehicle network in real time; wherein the current wireless access node may refer to the wireless access node last connected by the current vehicle in the recent time period; If it is determined that the connection state between the current vehicle and the current AP in the mobile vehicle network is disconnected, then determining the target AP to which the current vehicle is about to connect according to the vehicle state information of the current vehicle; Locate the target SDN switch corresponding to the target AP in the current network topology of the mobile vehicle network, and generate the target route forwarding information when the current vehicle is connected to the target AP by using the route forwarding information generated when the current vehicle is connected to the current AP; wherein the target route forwarding information includes the resource server information accessed by the current vehicle, the data storage type of the resource server accessed by the current vehicle, and the target SDN switch information; The target routing forwarding information is sent to the target SDN switch to enable the current vehicle to access the data resources in the target resource server.
2. The method according to claim 1, characterized in that According to the vehicle status information of the current vehicle, it is determined that the current vehicle is about to connect to the target AP, including: Determine the target path range according to the planned driving route and / or real-time driving direction of the current vehicle during this driving process; According to the real-time positioning information of the current vehicle, the target AP to which the current vehicle is about to connect is determined within the target path range.
3. The method according to claim 1, characterized in that The locating a target SDN switch corresponding to a target AP in a current network topology of the mobile Internet of Vehicles includes: Get the target AP number corresponding to the current vehicle in the mobile vehicle network; In the current network topology, an SDN switch connected to the target AP ID is obtained as the target SDN switch.
4. The method according to claim 1, characterized in that: The method of using the route forwarding information generated when the current vehicle is connected to the current AP to generate the target route forwarding information when the current vehicle is connected to the target AP includes: Get the target resource server number in the routing forwarding information generated when the current vehicle is connected to the current AP; The target resource server number is combined with the target SDN switch number to generate target routing forwarding information when the current vehicle is connected to the target AP.
5. The method according to claim 1, characterized in that The sending of the target routing forwarding information to the target SDN switch includes: Determine the target SDN switch according to the target SDN switch number in the routing forwarding information; According to the numbers of the target resource servers in the routing forwarding information, a connection is established between the target SDN switch and each target resource server.
6. The method according to claim 1, characterized in that Before locating the target SDN switch corresponding to the target AP in the current network topology of the mobile vehicle network, the method further includes: Determine whether the current vehicle is connected to the target AP. If the current vehicle is connected to the target AP, obtain the updated current network topology of the mobile vehicle network.
7. A vehicle service resource rapid allocation device, characterized in that: include: A connection status acquisition module is used to obtain in real time the connection status of the current vehicle and the current wireless access node AP currently connected in the mobile vehicle network; wherein the current wireless access node may refer to the wireless access node last connected by the current vehicle in the recent time period; A target AP acquisition module is used to determine the target AP to be connected to the current vehicle according to the vehicle status information of the current vehicle if it is determined that the connection state between the current vehicle and the current AP in the mobile vehicle network is disconnected; An information generation module is used to locate the target SDN switch corresponding to the target AP in the current network topology of the mobile vehicle network, and use the route forwarding information generated when the current vehicle is connected to the current AP to generate the target route forwarding information when the current vehicle is connected to the target AP; wherein the target route forwarding information includes the resource server information accessed by the current vehicle, the data storage type of the resource server accessed by the current vehicle, and the target SDN switch information; The information sending module is used to send the target routing forwarding information to the target SDN switch to enable the current vehicle to access the data resources in the target resource server.
8. A vehicle service resource rapid allocation system, characterized in that: include: A management server, used to carry a device for quickly allocating service resources for a vehicle, and to execute a method for dynamically allocating service resources for a vehicle as claimed in any one of claims 1 to 6; The SDN switch is used to establish a connection between each wireless access node AP and the target resource server, so as to enable the vehicle to access the data resources in the target resource server; Resource server, used to store data resources of different data types; Wireless access point AP is used to establish a connection between the vehicle and the mobile Internet of Vehicles.
9. A management server, characterized in that: The management server comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for rapid allocation of service resources for a vehicle according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for quickly allocating service resources of a vehicle according to any one of claims 1 to 6 when executed.