Vehicle machine login processing method and device and medium
By using preset queue queues and idle virtual instance resource monitoring mechanisms in the login process of vehicle computers, the repeated login problem caused by excessive concurrency during login is solved, and a more efficient and experienced vehicle computer login process is achieved.
Patent Information
- Application Number
- CN202411645361.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2025-03-07
AI Technical Summary
When logging in with a car machine, if the number of logins is greater than the maximum concurrency, the user needs to log in repeatedly, resulting in poor login experience and low efficiency, and the inability to sense idle virtual instance resources in time.
By identifying the login parameters of the car and machine queued in the preset queue queue, the number of idle virtual instance resources is monitored. When the preset threshold is reached, the login parameters of the car and machine to be logged in are extracted and sent to the car and machine terminal so that login can be completed in the idle resource.
It improves the efficiency and experience of car computer login, and users do not need to log in repeatedly, and the login process is transparent to users, improving the overall user experience.
Smart Images

Figure CN119576552A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle control technology, and in particular to a vehicle computer login processing method, device and medium. Background Art
[0002] Cloud virtual instance resources usually refer to virtual computing resources on the cloud computing platform. These resources are used to support the interaction and service between the vehicle (infotainment system or other networked devices in the vehicle) and the cloud. Cloud virtual instance resources are virtualized computing resources created on the cloud computing platform. These resources can simulate the functions of one or more physical computers. Common virtual instance resources include virtual machines, containers, etc.
[0003] In related technologies, in order to support the interaction and service between the vehicle computer and the cloud, the vehicle computer needs to send a login request to the cloud computing platform, and the cloud computing platform allocates corresponding virtual instance resources for it. Among them, the cloud computing platform uses the maximum concurrency (i.e. the maximum number of virtual instance resources that can be used at the same time) as the number limit for providing services for vehicle computer login. If the number of vehicle computer logins is greater than the maximum concurrency, the vehicle computer login fails due to the lack of idle virtual instance resources, and the user needs to log in again on the vehicle computer.
[0004] However, when the number of vehicle computer logins is greater than the maximum concurrency, the user needs to log in again on the vehicle computer. If the login fails again, since the user cannot perceive whether there are idle virtual instance resources at present, it is necessary to repeat the login steps until there are idle virtual instance resources, resulting in a poor vehicle computer login experience and low vehicle computer login efficiency. Summary of the invention
[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a vehicle computer login processing method, device and medium, which improve the vehicle computer login efficiency and vehicle computer login experience.
[0006] An embodiment of the present disclosure provides a vehicle computer login processing method, which is applied to a processor, including: identifying whether a preset queuing queue contains a queued first vehicle computer login parameter, wherein the preset queuing queue is used to queue and store the vehicle computer login parameter to be logged in; when the first vehicle computer login parameter is contained, monitoring whether the current number of idle virtual instance resources meets a preset number threshold; when the preset number threshold is met, extracting the current second vehicle computer login parameter to be logged in from the preset queuing queue, wherein the second vehicle computer login parameter belongs to the first vehicle computer login parameter; sending the second vehicle computer login parameter to a vehicle computer end corresponding to the second vehicle computer login parameter, wherein the vehicle computer end corresponding to the second vehicle computer login parameter obtains a target virtual instance resource from the current idle virtual instance resources according to the received second vehicle computer login parameter to implement vehicle computer login processing.
[0007] An embodiment of the present disclosure provides a vehicle computer login processing method, which is applied on a vehicle computer side, comprising: obtaining a second vehicle computer login parameter in a preset queuing queue sent by a processor, wherein the preset queuing queue is used to queue and store vehicle computer login parameters to be logged in, and the second vehicle computer login parameter is extracted by the processor from the preset queuing queue when it is determined that the number of currently idle virtual instance resources meets a preset number threshold; sending a login request carrying the second vehicle computer login parameter to a cloud computing platform through a preset login interface, wherein the cloud computing platform allocates a target virtual instance resource corresponding to the second vehicle computer login parameter in the currently idle virtual instance resources according to the second vehicle computer login parameter, so as to realize vehicle computer login processing.
[0008] The disclosed embodiment also provides a vehicle computer login processing device, which is applied to a processor and includes: an identification module, used to identify whether a preset queue contains a queued first vehicle computer login parameter, wherein the preset queue is used to queue and store the vehicle computer login parameter to be logged in; a monitoring module, used to monitor whether the number of currently idle virtual instance resources meets a preset number threshold when the first vehicle computer login parameter is included; an extraction module, used to extract the second vehicle computer login parameter to be logged in from the preset queue when the preset number threshold is met, wherein the second vehicle computer login parameter belongs to the first vehicle computer login parameter; a sending module, used to send the second vehicle computer login parameter to the vehicle computer end corresponding to the second vehicle computer login parameter, wherein the vehicle computer end corresponding to the second vehicle computer login parameter obtains the target virtual instance resource from the currently idle virtual instance resources according to the received second vehicle computer login parameter to implement vehicle computer login processing.
[0009] The disclosed embodiment also provides a vehicle computer login processing device, which is applied on the vehicle computer side and includes: an acquisition module, used to acquire a second vehicle computer login parameter in a preset queue sent by a processor, wherein the preset queue is used to queue and store the vehicle computer login parameter to be logged in, and the second vehicle computer login parameter is extracted from the preset queue by the processor when it is determined that the number of currently idle virtual instance resources meets a preset number threshold; a login processing module, used to send a login request carrying the second vehicle computer login parameter to a cloud computing platform through a preset login interface, wherein the cloud computing platform allocates a target virtual instance resource corresponding to the second vehicle computer login parameter in the currently idle virtual instance resources according to the second vehicle computer login parameter, so as to realize vehicle computer login processing.
[0010] The embodiment of the present disclosure also provides a computer-readable storage medium, which stores a computer program, and the computer program is used to execute the vehicle computer login processing method provided in the embodiment of the present disclosure.
[0011] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:
[0012] The vehicle computer login processing scheme provided by the embodiment of the present disclosure identifies whether the preset queue contains the first vehicle computer login parameter in the queue, wherein the preset queue is used to queue and store the vehicle computer login parameters to be logged in, and when the first vehicle computer login parameter is contained, monitors whether the current idle virtual instance resource quantity meets the preset quantity threshold, and then, when the preset quantity threshold is met, extracts the second vehicle computer login parameter to be logged in from the preset queue, wherein the second vehicle computer login parameter belongs to the first vehicle computer login parameter, and sends the second vehicle computer login parameter to the vehicle computer terminal corresponding to the second vehicle computer login parameter, wherein the vehicle computer terminal corresponding to the second vehicle computer login parameter obtains the target virtual instance resource from the current idle virtual instance resource according to the received second vehicle computer login parameter to realize the vehicle computer login processing. In this technical scheme, the vehicle computer login parameters to be logged in are stored in the form of a queue, and after identifying that there are sufficient idle virtual instance resources, the corresponding vehicle computer login parameters are sent to the vehicle computer terminal, so that the vehicle computer re-acquires the target virtual instance resource to realize the vehicle computer login processing, and the process of the vehicle computer terminal acquiring the target virtual instance resource is not perceived by the user, and the user does not need to perform the login operation again, thereby improving the vehicle computer login efficiency and experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0014] Figure 1 A flowchart of a vehicle computer login processing method provided by an embodiment of the present disclosure;
[0015] Figure 2 A schematic diagram of a preset queue provided in an embodiment of the present disclosure;
[0016] Figure 3 A schematic diagram of another preset queue provided in an embodiment of the present disclosure;
[0017] Figure 4 A flowchart of another vehicle computer login processing method provided by an embodiment of the present disclosure;
[0018] Figure 5 A schematic diagram of the structure of a vehicle computer login processing device provided in an embodiment of the present disclosure;
[0019] Figure 6 A schematic diagram of the structure of another vehicle computer login processing device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0020] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0021] 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.
[0022] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0023] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0024] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0025] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0026] In order to solve the above problems, an embodiment of the present disclosure provides a vehicle computer login processing method, which is introduced below in conjunction with a specific embodiment.
[0027] Figure 1 The flowchart of a vehicle computer login processing method provided by the embodiment of the present disclosure is a schematic diagram. The method can be executed by a vehicle computer login processing device, wherein the device can be implemented by software and / or hardware, and can generally be integrated in a processor, wherein the processor includes but is not limited to a control center, etc. Figure 1 As shown, the method includes:
[0028] Step 101 , identifying whether a preset queue contains a queued first vehicle computer login parameter, wherein the preset queue is used to queue and store vehicle computer login parameters to be logged in.
[0029] Among them, the vehicle computer login parameters in this embodiment refer to the relevant parameters sent to the cloud computing platform when the vehicle computer logs in, including but not limited to: the login user identification of the vehicle computer (including the mobile phone number authorized by the user, user level, etc.), vehicle identification number (Vehicle Identification Number, VIN), vehicle model number, etc.
[0030] In one embodiment of the present disclosure, a preset queue is maintained in advance, and the preset queue is used to queue and store the vehicle computer login parameters to be logged in in the form of a queue. In some possible embodiments, after the user performs a preset login operation on the relevant interface of the vehicle computer, the vehicle computer sends a vehicle computer login request, and can identify whether the current number of idle virtual instance resources meets the preset number threshold in response to obtaining the vehicle computer login request, wherein the vehicle computer login request includes a first vehicle computer login parameter, and if it does not meet the preset number threshold, the first vehicle computer login parameter is added to the preset queue. Alternatively, the vehicle computer sends the vehicle computer login parameter to the cloud computing platform in response to the user's vehicle computer login operation. If the cloud computing platform successfully allocates the corresponding virtual instance resources to the vehicle computer, it is determined that the login is successful. If the allocation fails, an allocation failure message is sent to the processor, and the processor extracts the corresponding first vehicle computer login parameter based on the allocation failure message, and adds the first vehicle computer login parameter to the preset queue.
[0031] Reference Figure 2 In this embodiment, the corresponding first vehicle computer login parameter can be added to a preset queue in the form of a queue, wherein each time the first vehicle computer login parameter is obtained, the corresponding first vehicle computer login parameter is added to the end of the preset queue.
[0032] In an embodiment of the present disclosure, it is identified whether the preset queue includes the first vehicle machine login parameter in queue, that is, it is identified whether the first vehicle machine login parameter in queue waiting for login is currently included.
[0033] Step 102 , when including the first vehicle machine login parameter, monitoring whether the current number of idle virtual instance resources meets a preset number threshold.
[0034] In one embodiment of the present disclosure, when the first vehicle computer login parameter is included in the preset queue, it indicates that there is currently a vehicle computer terminal that has not logged in successfully, so that it is monitored whether the current number of idle virtual instance resources meets the preset number threshold.
[0035] The preset quantity threshold can be set according to the scene requirements, as shown in the following example:
[0036] In some possible examples, the preset quantity threshold is a specific value, which can be any natural number greater than or equal to 0. In this embodiment, it is monitored whether the current number of idle virtual instance resources is greater than the preset quantity threshold value. If it is greater than the preset quantity threshold value, it is determined that the preset quantity threshold is met.
[0037] In some possible examples, in order to ensure login stability, a preset ratio threshold between the current number of idle virtual instance resources and the preset maximum concurrent total amount of idle virtual resources is pre-defined. The preset ratio threshold may be 2%, etc., that is, it is necessary to ensure that the ratio of the current number of idle virtual instance resources and the preset maximum concurrent total amount of idle virtual resources is maintained at a preset ratio threshold level to ensure that even when multiple vehicle computers concurrently send vehicle computer login requests, the concurrent login requirements of multiple vehicle computers can be met.
[0038] In this example, the ratio of the current number of idle virtual instance resources to the preset maximum concurrent total number of idle virtual resources is calculated, and whether the ratio is greater than a preset ratio threshold is monitored, wherein when it is greater than the preset ratio threshold, it is determined that the preset quantity threshold is met.
[0039] In this embodiment, whether the current number of idle virtual instance resources meets the preset number threshold can be monitored according to a preset monitoring period, or whether the current number of idle virtual instance resources meets the preset number threshold can be continuously monitored.
[0040] Step 103 , when the preset number threshold is met, extract the second vehicle computer login parameter currently to be logged in from the preset queue, wherein the second vehicle computer login parameter belongs to the first vehicle computer login parameter.
[0041] When the preset number threshold is met, it indicates that there are currently idle virtual instance resources that can provide login services for the vehicle computer, so that the second vehicle computer login parameter to be logged in is extracted from the preset queue, wherein the second vehicle computer login parameter belongs to the preset queue, wherein the second vehicle computer login parameter belongs to the first vehicle computer login parameter. It should be emphasized that in this embodiment, the second vehicle computer login parameter is extracted from the preset queue, and the first vehicle computer login parameter of the preset queue after extraction is the next adjacent vehicle computer login parameter of the second vehicle computer login parameter.
[0042] It should be noted that in different application scenarios, the method of extracting the login parameters of the second vehicle machine to be logged in from the preset queue is different, and the examples are as follows:
[0043] In some possible examples, refer to Figure 3 According to the principle of "first in, first out", the first vehicle computer login parameter located at the first position in the preset queue is extracted as the second vehicle computer login parameter.
[0044] In some possible examples, the priority of each first vehicle computer login parameter in the preset queue can also be determined, and the first vehicle computer login parameter with the highest priority can be determined as the second vehicle computer login parameter in order from high to low. If there are multiple first vehicle computer login parameters with the highest priority, the first first vehicle computer login parameter is selected as the second vehicle computer login parameter in order from front to back in the preset queue.
[0045] In this example, if the first vehicle computer login parameter includes the user level, the priority can be determined based on the user level; in this example, if the first vehicle computer login parameter includes the vehicle model number, the priority of each type of vehicle model can be set in advance, and the priority of the first vehicle computer login parameter can be determined based on the vehicle model number, etc.
[0046] Step 104 , sending the second vehicle computer login parameter to the vehicle computer end corresponding to the second vehicle computer login parameter, wherein the vehicle computer end corresponding to the second vehicle computer login parameter obtains the target virtual instance resource from the current idle virtual instance resources according to the received second vehicle computer login parameter to implement vehicle computer login processing.
[0047] After determining the second vehicle computer login parameter, the second vehicle computer login parameter is sent to the vehicle computer end corresponding to the second vehicle computer login parameter, wherein the vehicle computer end corresponding to the second vehicle computer login parameter obtains the target virtual instance resource from the currently idle virtual instance resource according to the received second vehicle computer login parameter to implement vehicle computer login processing. The specific vehicle computer login processing method can refer to the subsequent embodiments described in detail on the vehicle computer side and will not be elaborated here.
[0048] Therefore, in this embodiment, the second vehicle computer login parameter is sent to the vehicle computer end corresponding to the second vehicle computer login parameter, triggering the vehicle computer end to obtain the target virtual instance resource. This process is imperceptible to the user, and the user does not need to repeat the login operation, thereby improving the vehicle computer login efficiency and experience.
[0049] In one embodiment of the present disclosure, in order to further improve the user experience, after adding the first vehicle machine login parameter to the preset queue, the first queue sequence number of the first vehicle machine login parameter in the queue can also be determined, and a queue notification message carrying the first sequence number is sent to the vehicle machine terminal corresponding to the first vehicle machine login parameter. The vehicle machine terminal displays the queue notification message on the screen, so that the user can know that he is currently waiting in the queue, and can know what queue sequence he is in based on the first queue sequence number, etc., which improves the user experience.
[0050] In this embodiment, after extracting the second vehicle computer login parameter to be logged in from the preset queue, it is obvious that the order of the other remaining first vehicle computer login parameters in the preset queue will change. In this case, it is also determined whether the preset queue contains the remaining other vehicle computer login parameters. When other vehicle computer login parameters are contained, the second queue sequence numbers of the other vehicle computer login parameters after the second vehicle computer login parameter is extracted are determined, and a queue notification message carrying the corresponding second sorting sequence number is sent to the vehicle computer end corresponding to the other vehicle computer login parameters.
[0051] In one embodiment of the present disclosure, in order to further improve the user experience, the estimated waiting time can also be determined based on the first sorting number. Before sending a queue notification message carrying the first sorting number to the vehicle-machine end corresponding to the first vehicle-machine login parameter, the estimated waiting time can also be added to the queue notification message.
[0052] Among them, the estimated waiting time can be determined based on the historical unit average waiting time, that is, identifying the average waiting time each time when the current number of idle virtual instance resources is monitored to meet the preset quantity threshold, etc., and using the average waiting time as the historical unit average waiting time, and calculating the product of the first sorting number and the historical unit average waiting time as the estimated waiting time.
[0053] In summary, the vehicle computer login processing method of the disclosed embodiment identifies whether the preset queue contains the first vehicle computer login parameter in the queue, wherein the preset queue is used to queue and store the vehicle computer login parameters to be logged in, and when the first vehicle computer login parameter is contained, monitors whether the current number of idle virtual instance resources meets the preset number threshold, and then, when the preset number threshold is met, extracts the second vehicle computer login parameter to be logged in from the preset queue, wherein the second vehicle computer login parameter belongs to the first vehicle computer login parameter, and sends the second vehicle computer login parameter to the vehicle computer terminal corresponding to the second vehicle computer login parameter, wherein the vehicle computer terminal corresponding to the second vehicle computer login parameter obtains the target virtual instance resource from the current idle virtual instance resource according to the received second vehicle computer login parameter to realize vehicle computer login processing. In this technical solution, the vehicle computer login parameters to be logged in are stored in the form of a queue, and after identifying that there are sufficient idle virtual instance resources, the corresponding vehicle computer login parameters are sent to the vehicle computer terminal, so that the vehicle computer re-acquires the target virtual instance resource to realize vehicle computer login processing, and the process of the vehicle computer terminal acquiring the target virtual instance resource is not perceived by the user, and the user does not need to perform the login operation again, thereby improving the vehicle computer login efficiency and experience.
[0054] Figure 4 A flow chart of another vehicle computer login processing method provided in an embodiment of the present disclosure, the method can be executed by a vehicle computer login processing device, wherein the device can be implemented by software and / or hardware and can generally be integrated in the vehicle computer end.
[0055] like Figure 4 As shown, the method includes:
[0056] Step 401, obtain the second vehicle computer login parameter in the preset queue sent by the processor, wherein the preset queue is used to queue and store the vehicle computer login parameters to be logged in, and the second vehicle computer login parameter is extracted from the preset queue when the processor determines that the current number of idle virtual instance resources meets the preset number threshold.
[0057] Step 402, sending a login request carrying the second vehicle computer login parameter to the cloud computing platform through a preset login interface, wherein the cloud computing platform allocates the target virtual instance resource corresponding to the second vehicle computer login parameter from the current idle virtual instance resource according to the second vehicle computer login parameter to implement vehicle computer login processing.
[0058] In one embodiment of the present disclosure, after obtaining the second vehicle computer login parameter, the vehicle computer end actively calls a preset login interface, and sends a login request carrying the second vehicle computer login parameter to the cloud computing platform through the preset login interface, wherein the cloud computing platform allocates the target virtual instance resources corresponding to the vehicle computer end corresponding to the second vehicle computer login parameter in the current idle virtual instance resources according to the second vehicle computer login parameter, so as to realize the vehicle computer login processing, that is, after allocating the target virtual instance resources, the vehicle computer completes the login, and can realize related services based on the allocated target virtual instance resources.
[0059] In one embodiment of the present disclosure, the waiting time of the first vehicle-machine login parameter in the preset queue can also be counted. If the waiting time is greater than the preset time threshold, the current business state of the vehicle-machine terminal currently occupying the virtual instance resources is determined, and it is identified whether the vehicle-machine terminal whose current business state is not a streaming business state is included. If the vehicle-machine terminal in a non-streaming business state is included, the virtual instance resources occupied by the corresponding vehicle-machine terminal are released. Among them, the number of parameters of the first vehicle-machine login parameter whose waiting time is greater than the preset time threshold can be identified, and the number of vehicle-machine terminals in a non-streaming business state can be determined. If the number of parameters is less than or equal to the number of vehicle-machine terminals, the virtual instance resources occupied by the number of vehicle-machine terminals with the parameters are directly released. If the number of parameters is greater than the number of vehicle-machine terminals, the virtual instance resources occupied by all vehicle-machine terminals are released, etc. In this way, the efficiency of vehicle-machine login can be further improved.
[0060] In summary, the vehicle computer login processing method of the disclosed embodiment obtains the second vehicle computer login parameter in the preset queue sent by the processor, wherein the preset queue is used to queue and store the vehicle computer login parameter to be logged in, and the second vehicle computer login parameter is extracted by the processor in the preset queue when it is determined that the number of currently idle virtual instance resources meets the preset number threshold, and sends a login request carrying the second vehicle computer login parameter to the cloud computing platform through the preset login interface, wherein the cloud computing platform allocates the target virtual instance resource corresponding to the second vehicle computer login parameter in the current idle virtual instance resources according to the second vehicle computer login parameter, so as to realize the vehicle computer login processing. In this technical solution, the processor stores the vehicle computer login parameter to be logged in in the form of a queue, and after identifying that there are sufficient idle virtual instance resources, sends the corresponding vehicle computer login parameter to the vehicle computer end, and the vehicle computer end actively calls the preset login interface based on the obtained vehicle computer login parameter, and re-acquires the target virtual instance resource to realize the vehicle computer login processing. The user is unaware of the process of the vehicle computer end acquiring the target virtual instance resource, and there is no need for the user to perform the login operation again, thereby improving the vehicle computer login efficiency and experience.
[0061] In order to implement the above embodiment, the present disclosure also proposes a vehicle computer login processing device.
[0062] Figure 5This is a schematic diagram of the structure of a vehicle machine login processing device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated in a processor. Figure 5 As shown, the device includes: an identification module 510, a monitoring module 520, an extraction module 530 and a sending module 540, wherein:
[0063] An identification module 510 is used to identify whether a preset queue contains a first vehicle computer login parameter in a queue, wherein the preset queue is used to queue and store vehicle computer login parameters to be logged in;
[0064] A monitoring module 520, configured to monitor whether the current number of idle virtual instance resources meets a preset number threshold when the first vehicle machine login parameter is included;
[0065] An extraction module 530 is used to extract the second vehicle computer login parameter to be logged in from the preset queue when a preset number threshold is met, wherein the second vehicle computer login parameter belongs to the first vehicle computer login parameter;
[0066] The sending module 540 is used to send the second vehicle computer login parameter to the vehicle computer end corresponding to the second vehicle computer login parameter, wherein the vehicle computer end corresponding to the second vehicle computer login parameter obtains the target virtual instance resource from the current idle virtual instance resource according to the received second vehicle computer login parameter to implement vehicle computer login processing.
[0067] In one embodiment of the present disclosure, it further includes: a queue generation module, which is used to: before identifying whether the preset queue contains the first vehicle machine login parameter, in response to obtaining the vehicle machine login request, identify whether the current number of idle virtual instance resources meets the preset number threshold, wherein the vehicle machine login request includes the first vehicle machine login parameter;
[0068] If the preset number threshold is not met, the first vehicle machine login parameter is added to the preset queue.
[0069] In one embodiment of the present disclosure, it further includes: a notification module, which is used to:
[0070] Determine the first queue sequence number of the first vehicle machine login parameter in the queue;
[0071] A queuing notification message carrying a first sorting sequence number is sent to the vehicle terminal corresponding to the first vehicle login parameter.
[0072] In one embodiment of the present disclosure, the notification module is further used to:
[0073] Determine whether the preset queue contains other remaining vehicle computer login parameters;
[0074] When other vehicle computer login parameters are included, determining a second queue sequence number of other vehicle computer login parameters after extracting the second vehicle computer login parameter;
[0075] A queuing notification message carrying the corresponding second sorting sequence number is sent to the vehicle terminals corresponding to the other vehicle terminal login parameters.
[0076] In one embodiment of the present disclosure, the monitoring module 520 is specifically configured to:
[0077] Calculate the ratio of the current number of idle virtual instance resources to the preset maximum concurrent total number of idle virtual resources;
[0078] The monitoring ratio is determined to be greater than a preset ratio threshold, wherein when the ratio is greater than the preset ratio threshold, it is determined that a preset quantity threshold is met.
[0079] In order to implement the above embodiment, the present disclosure also proposes a vehicle computer login processing device.
[0080] Figure 6 This is a schematic diagram of the structure of another vehicle computer login processing device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated in the vehicle computer. Figure 6 As shown, the device includes: an acquisition module 610 and a login processing module 620, wherein:
[0081] An acquisition module 610 is used to acquire a second vehicle machine login parameter in a preset queue sent by the processor, wherein the preset queue is used to queue and store vehicle machine login parameters to be logged in, and the second vehicle machine login parameter is extracted from the preset queue by the processor when it is determined that the number of currently idle virtual instance resources meets a preset number threshold;
[0082] The login processing module 620 is used to send a login request carrying the second vehicle computer login parameter to the cloud computing platform through a preset login interface, wherein the cloud computing platform allocates the target virtual instance resources corresponding to the second vehicle computer login parameter in the current idle virtual instance resources according to the second vehicle computer login parameter to realize the vehicle computer login processing.
[0083] The vehicle computer login processing device provided in the embodiments of the present disclosure can execute the vehicle computer login processing method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0084] In order to implement the above embodiments, the present disclosure further proposes a computer program product, including a computer program / instruction, which implements the vehicle computer login processing method in the above embodiments when executed by a processor.
[0085] In order to implement the above embodiment, the present disclosure also proposes a computer-readable storage medium, which stores a computer program, and the computer program is used to execute the above vehicle computer login processing method.
[0086] 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.
[0087] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0088] 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.
[0089] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 foregoing.
[0090] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0091] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0092] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A vehicle computer login processing method, characterized in that: The method is applied to a processor, comprising: Identify whether a preset queue contains a first vehicle machine login parameter in queue, wherein the preset queue is used to queue and store vehicle machine login parameters to be logged in; When including the first vehicle machine login parameter, monitoring whether the current number of idle virtual instance resources meets a preset number threshold; When the preset number threshold is met, extracting the second vehicle computer login parameter currently to be logged in from the preset queue, wherein the second vehicle computer login parameter belongs to the first vehicle computer login parameter; The second vehicle computer login parameter is sent to the vehicle computer end corresponding to the second vehicle computer login parameter, wherein the vehicle computer end corresponding to the second vehicle computer login parameter obtains the target virtual instance resource from the current idle virtual instance resources according to the received second vehicle computer login parameter to implement vehicle computer login processing.
2. The method according to claim 1, characterized in that Before the step of identifying whether the preset queue contains the first vehicle machine login parameter in the queue, the step further includes: In response to obtaining a vehicle computer login request, identifying whether the current number of idle virtual instance resources meets the preset number threshold, wherein the vehicle computer login request includes the first vehicle computer login parameter; If the preset number threshold is not met, the first vehicle machine login parameter is added to the preset queue.
3. The method according to claim 2, characterized in that Also includes: Determine the first queue sequence number of the first vehicle machine login parameter in the queue; Send a queuing notification message carrying the first sorting sequence number to the vehicle terminal corresponding to the first vehicle login parameter.
4. The method according to claim 3, characterized in that After extracting the second vehicle machine login parameter to be logged in from the preset queue, the method further includes: Determine whether the preset queue contains other remaining vehicle machine login parameters; When the other vehicle computer login parameters are included, determining a second queue sequence number of the other vehicle computer login parameters after extracting the second vehicle computer login parameter; A queuing notification message carrying the corresponding second sorting sequence number is sent to the vehicle terminal corresponding to the other vehicle login parameters.
5. The method according to any one of claims 1 to 4, characterized in that: The second vehicle machine login parameters include: The first vehicle computer login parameter located at the first position in the preset queue.
6. The method according to any one of claims 1 to 4, characterized in that: The monitoring of whether the current number of idle virtual instance resources meets a preset number threshold includes: Calculate the ratio of the current number of idle virtual instance resources to the preset maximum concurrent total number of idle virtual resources; Monitor whether the ratio is greater than a preset ratio threshold, wherein when the ratio is greater than the preset ratio threshold, determine that the preset quantity threshold is met.
7. A vehicle computer login processing method, characterized in that: The method is applied on the vehicle side, and includes: Acquire a second vehicle machine login parameter in a preset queue sent by the processor, wherein the preset queue is used to queue and store vehicle machine login parameters to be logged in, and the second vehicle machine login parameter is extracted from the preset queue by the processor when it is determined that the number of currently idle virtual instance resources meets a preset number threshold; A login request carrying the second vehicle computer login parameter is sent to the cloud computing platform through a preset login interface, wherein the cloud computing platform allocates a target virtual instance resource corresponding to the second vehicle computer login parameter from the current idle virtual instance resources according to the second vehicle computer login parameter to implement vehicle computer login processing.
8. A vehicle computer login processing device, characterized in that: The device is applied to a processor and includes: An identification module, used to identify whether a preset queue contains a first vehicle computer login parameter to be queued, wherein the preset queue is used to queue and store the vehicle computer login parameters to be logged in; A monitoring module, used for monitoring whether the number of currently idle virtual instance resources meets a preset number threshold when the first vehicle machine login parameter is included; An extraction module, configured to extract the second vehicle computer login parameter currently to be logged in from the preset queue when the preset number threshold is met, wherein the second vehicle computer login parameter belongs to the first vehicle computer login parameter; A sending module is used to send the second vehicle computer login parameter to the vehicle computer end corresponding to the second vehicle computer login parameter, wherein the vehicle computer end corresponding to the second vehicle computer login parameter obtains the target virtual instance resource from the current idle virtual instance resource according to the received second vehicle computer login parameter to implement vehicle computer login processing.
9. A vehicle computer login processing device, characterized in that: The device is applied on the vehicle side and includes: an acquisition module, configured to acquire a second vehicle machine login parameter in a preset queue sent by the processor, wherein the preset queue is used to queue and store vehicle machine login parameters to be logged in, and the second vehicle machine login parameter is extracted from the preset queue by the processor when it is determined that the number of currently idle virtual instance resources meets a preset number threshold; A login processing module is used to send a login request carrying the second vehicle computer login parameter to the cloud computing platform through a preset login interface, wherein the cloud computing platform allocates the target virtual instance resources corresponding to the second vehicle computer login parameter in the current idle virtual instance resources according to the second vehicle computer login parameter to realize vehicle computer login processing.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is used to execute the vehicle computer login processing method described in any one of claims 1-7 above.