CN118229275B - Solution method and terminal for charging card list of optical storage charging pile - Google Patents
Solution method and terminal for charging card list of optical storage charging pile Download PDFInfo
- Publication number
- CN118229275B CN118229275B CN202410658867.XA CN202410658867A CN118229275B CN 118229275 B CN118229275 B CN 118229275B CN 202410658867 A CN202410658867 A CN 202410658867A CN 118229275 B CN118229275 B CN 118229275B
- Authority
- CN
- China
- Prior art keywords
- charging
- task
- card
- order
- cloud platform
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000003287 optical effect Effects 0.000 title claims abstract description 45
- 238000000034 method Methods 0.000 title claims abstract description 39
- 230000004044 response Effects 0.000 claims abstract description 27
- 238000010257 thawing Methods 0.000 claims abstract description 8
- 230000002159 abnormal effect Effects 0.000 claims abstract 3
- 238000012544 monitoring process Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 8
- 230000000977 initiatory effect Effects 0.000 claims description 8
- 230000005856 abnormality Effects 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000008014 freezing Effects 0.000 description 1
- 238000007710 freezing Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60L—PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
- B60L53/00—Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
- B60L53/60—Monitoring or controlling charging stations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/085—Payment architectures involving remote charge determination or related payment systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/18—Payment architectures involving self-service terminals [SST], vending machines, kiosks or multimedia terminals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/22—Payment schemes or models
- G06Q20/28—Pre-payment schemes, e.g. "pay before"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3276—Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/403—Solvency checks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/405—Establishing or using transaction specific rules
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/407—Cancellation of a transaction
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- Finance (AREA)
- Human Resources & Organizations (AREA)
- Primary Health Care (AREA)
- General Health & Medical Sciences (AREA)
- Water Supply & Treatment (AREA)
- Tourism & Hospitality (AREA)
- Public Health (AREA)
- Marketing (AREA)
- Power Engineering (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Meter Arrangements (AREA)
Abstract
The invention provides a solution method and a terminal for a charging card list of an optical storage charging pile, which comprise the steps of establishing a card list task list on a cloud platform and newly adding a card list task record in real time according to a receiving and transmitting response condition between the cloud platform and an EMS; and when the new adding time scheduling task reads each card order task in the card order task list every first time, if the state of the charging order corresponding to the card order task is charging, marking the task state as completed, otherwise, judging whether the current time of the creating time interval of the charging order is within a second time, if so, issuing a charging stopping instruction to the EMS, adding 1 to the execution times of the card order task, otherwise, judging whether the execution times exceed the preset times, if so, marking the state of the charging order as starting failure ending, thawing the user amount, and simultaneously marking the card order task as successful processing, otherwise, marking the card order task as abnormal processing and alarming. The invention can avoid the loss of the optical storage charging station and simultaneously ensure the charging rights and interests of users.
Description
Technical Field
The invention relates to the technical field of optical storage charging stations, in particular to a solution method and a terminal for a charging card sheet of an optical storage charging pile.
Background
The optical storage charging station is in the external operation in-process that charges, and the user uses the optical storage charging station to provide charge APP scanning charge stake on the two-dimensional code get into before charging operation interface, after charging the amount of money, clicks "start charge" button, and charge APP sends the request to cloud platform service end immediately, and after the cloud platform received the start request, charge stake can successfully charge for the car, and cloud platform starts the service of charging and needs to go through following flow:
1. The cloud platform starts a charging service to verify whether a user is legal.
2. The cloud platform initiates a charging service to verify whether the user balance is sufficient.
3. And the cloud platform starts a charging service to verify whether the charging pile is inserted or not.
4. The cloud platform initiates a charging service to verify whether the user has an ongoing charging order, and if so, returns a failure.
5. And the cloud platform uses the pile number as a key through redis service to generate a lock with expired preset time, so that a user is prevented from initiating charging to the pile again.
6. The cloud platform initiates a charging service to generate a charging order while freezing the user's amount.
7. The cloud platform starts the charging service to call the charging starting service, the service sends a stake to an energy management system EMS of the optical storage charging station through the Internet of things gateway to start the charging service, and the cloud platform synchronously waits for an EMS starting service call result of the optical storage charging station.
8. And after verification, the EMS of the optical storage charging station replies the cloud platform with the receipt of the starting service.
9. And simultaneously, the EMS of the optical storage charging station sends a charging starting instruction to the stake.
10. After receiving the instruction, the stake charges the car start, if the start is successful, the stake can send the result of the start success to the EMS, if the start is failed, the stake can send the result of the start failure to the EMS.
11. And after receiving the reply of the pile, the EMS sends an event of a starting result to the cloud platform.
12. After the cloud platform receives the starting result, the charging order state is modified, then the starting result is returned to the APP, and the user can check the charging order state on the charging APP.
As can be seen from the above flow, the cloud platform waits for the response of the EMS after issuing the start charging service to the EMS, and if the following situation occurs, the cloud platform does not know the state of the charging order, resulting in a card order:
1. When the cloud platform transmits the starting charging to the EMS, the EMS is disconnected or network fluctuation causes the EMS not to receive the starting service.
2. The EMS replies with the result of the receipt of the boot service, but the cloud platform does not.
3. The internal cause of the EMS does not normally reply to the start service receiving result.
The result of the card list is that:
1. the user's amount is frozen and the amount cannot be thawed because the cloud platform does not know the order situation.
2. The user has an unfinished charge order and cannot initiate the charge again.
3. The cloud platform starts the service and issues the service to the EMS, if the cloud platform directly marks the order as failed and returns money to the user, then the stake may exist to successfully charge the automobile, but the cloud platform does not charge the user.
In summary, if a card order occurs when the existing optical storage charging station charges a new energy automobile, the cloud platform directly ends the order, so that the operation loss of the optical storage charging station is easy to cause; the cloud platform issues a charging stopping instruction firstly and then directly stops, so that the EMS can not be ensured to stop charging successfully, and the operation loss of the optical storage charging station is caused. Therefore, how to solve the charging card list of the optical storage station to avoid the loss of the optical storage station and simultaneously ensure the charging rights and interests of the user gradually becomes a problem to be solved urgently.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: the utility model provides a solution and terminal of light stores up electric pile card list that charges, guarantee user's the rights and interests that charge when avoiding light to store up the loss of charging station.
In order to solve the technical problems, the invention adopts the following technical scheme:
A solution method for a charging card sheet of an optical storage charging pile comprises the following steps:
S1, a card list task table is established in the cloud platform in advance;
s2, monitoring the receiving and transmitting response conditions between the cloud platform and the EMS in real time, and adding a card list task record in the card list task list according to the receiving and transmitting response conditions;
S3, when the cloud platform background is newly added, dispatching tasks read each card list task in the card list task list every first time, if the state of a charging order corresponding to the card list task is charging, marking the task state of the card list task as completed, otherwise, entering a step S4;
s4, judging whether the creation time of the charging order corresponding to the card order task is within a second time from the current time, if so, issuing a charging stopping instruction to the EMS, marking the execution times of the card order task to be 1, otherwise, entering a step S5;
S5, judging whether the execution times of the card list task exceeds the preset times, if so, marking the state of the charging order of the card list task as the end of the start failure, thawing the user amount, marking the card list task as the success of processing, otherwise marking the card list task as the abnormality of processing and initiating an alarm.
In order to solve the technical problems, the invention adopts another technical scheme that:
The solving terminal of the charging card list of the optical storage charging pile comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the processor realizes the following steps when executing the computer program:
S1, a card list task table is established in the cloud platform in advance;
s2, monitoring the receiving and transmitting response conditions between the cloud platform and the EMS in real time, and adding a card list task record in the card list task list according to the receiving and transmitting response conditions;
S3, when the cloud platform background is newly added, dispatching tasks read each card list task in the card list task list every first time, if the state of a charging order corresponding to the card list task is charging, marking the task state of the card list task as completed, otherwise, entering a step S4;
s4, judging whether the creation time of the charging order corresponding to the card order task is within a second time from the current time, if so, issuing a charging stopping instruction to the EMS, marking the execution times of the card order task to be 1, otherwise, entering a step S5;
S5, judging whether the execution times of the card list task exceeds the preset times, if so, marking the state of the charging order of the card list task as the end of the start failure, thawing the user amount, marking the card list task as the success of processing, otherwise marking the card list task as the abnormality of processing and initiating an alarm.
The invention has the beneficial effects that: the method comprises the steps of establishing a card list task list in a cloud platform in advance, determining the card list condition according to the receiving and dispatching response condition of a charging order between the cloud platform and an EMS terminal of a charging station through real-time monitoring, when the card list condition occurs, newly adding a card list task record in the card list task list, then periodically reading each card list task in the card list task list through dispatching tasks when the cloud platform is newly added, correspondingly processing the card list task according to the charging state of the charging order corresponding to the card list task, and simultaneously marking the task state and the processing times for each card list task, so that whether the charging order can be successfully completed and whether the card list condition is effectively solved can be further judged according to the task state and the processing times of the card list task, thereby ensuring that a user can restart the charging process, improving user experience, and effectively preventing the loss of charging resources of the optical storage charging station under the condition that the card list fails to recover by self or network connection interruption.
Drawings
Fig. 1 is an overall flowchart of a solution of a charging card sheet of an optical storage charging pile according to an embodiment of the present invention;
Fig. 2 is a schematic structural diagram of a solution terminal for a charging card sheet of an optical storage charging pile according to an embodiment of the present invention.
Description of the reference numerals:
1. a solution terminal for a charging card sheet of an optical storage charging pile; 2. a memory; 3. a processor.
Detailed Description
In order to describe the technical contents, the achieved objects and effects of the present invention in detail, the following description will be made with reference to the embodiments in conjunction with the accompanying drawings.
Referring to fig. 1, a solution for a charging card sheet of an optical storage charging pile includes the steps of:
S1, a card list task table is established in the cloud platform in advance;
s2, monitoring the receiving and transmitting response conditions between the cloud platform and the EMS in real time, and adding a card list task record in the card list task list according to the receiving and transmitting response conditions;
S3, when the cloud platform background is newly added, dispatching tasks read each card list task in the card list task list every first time, if the state of a charging order corresponding to the card list task is charging, marking the task state of the card list task as completed, otherwise, entering a step S4;
s4, judging whether the creation time of the charging order corresponding to the card order task is within a second time from the current time, if so, issuing a charging stopping instruction to the EMS, marking the execution times of the card order task to be 1, otherwise, entering a step S5;
S5, judging whether the execution times of the card list task exceeds the preset times, if so, marking the state of the charging order of the card list task as the end of the start failure, thawing the user amount, marking the card list task as the success of processing, otherwise marking the card list task as the abnormality of processing and initiating an alarm.
From the above description, the beneficial effects of the invention are as follows: the method comprises the steps of establishing a card list task list in a cloud platform in advance, determining the card list condition according to the receiving and dispatching response condition of a charging order between the cloud platform and an EMS terminal of a charging station through real-time monitoring, newly adding a card list task record in the card list task list when the card list condition occurs, periodically reading each card list task in the card list task list through dispatching tasks when the cloud platform is newly added, correspondingly processing the card list task according to the charging state of the charging order corresponding to the card list task, and simultaneously marking the task state and the processing times of each card list task, so that whether the charging order can be successfully completed and whether the card list condition is effectively solved can be further judged according to the task state of the card list task and the processing times of the card list task, thereby ensuring that a user can restart the charging process, improving user experience, and effectively preventing the loss of charging resources of the optical storage charging station under the condition that the card list fails due to self-recovery or network connection interruption.
Further, the step S2 specifically includes:
S21, when the cloud platform receives a charging order and issues a starting service to the EMS, if a response of the EMS is not received in a preset third time, issuing a charging stopping instruction to the EMS, otherwise, marking the state of the charging order as charging;
S22, when the EMS replies that the cloud platform receives the charging stopping instruction, the cloud platform marks the state of the charging order as ending of the starting failure, and thaws the user amount;
When the EMS does not reply the cloud platform to receive the charging stopping instruction, the cloud platform adds a card list task record in the card list task list, marks the task state as to-be-processed and the processing times as 0, and marks the state of the charging order as in charging.
According to the description, when the charging card list phenomenon occurs, the cloud platform can timely send a charging stopping instruction to the EMS, after receiving the notification, the EMS can successfully interrupt the charging process, and meanwhile, the cloud platform can smoothly complete order termination, so that a user can restart the charging process, and the user experience is improved.
Further, the step S2 further includes:
the EMS sends a charging order to the cloud platform, and after receiving a charging starting service sent by the cloud platform, sends a charging starting instruction to a charging pile to start the charging pile to perform charging operation, and sends a starting result to the cloud platform, if the cloud platform replies that the starting result is received and a corresponding card order task record exists in the card order task list, the task state of the corresponding card order task is marked as completed;
and if the cloud platform does not reply to receive the starting result, the EMS judges whether the cloud platform is disconnected, and if the network disconnection time exceeds the second time, the charging orders in the optical storage charging station which are currently being charged are controlled to stop.
As can be seen from the above description, even if the cloud platform temporarily fails to communicate the command in real time under the condition of the card failure and the network connection interruption, the EMS can actively stop the charging operation of the whole optical storage station on the vehicle after judging that the cloud platform is disconnected from the network for the second time, so as to prevent possible loss.
Further, in the executing process from step S1 to step S5, the cloud platform monitors the start result event of the charging order reported by the EMS in real time, if the start result event of a certain charging order reported by the EMS is received, if the charging order is not finished, the state of the charging order is marked as being charged, and if at this moment, a card order task record corresponding to the charging order exists in the card order task table, the cloud platform marks the task state of the card order task corresponding to the card order task table as completed through the timing scheduling task.
As can be seen from the above description, the cloud platform monitors the starting result of each charging order reported by the EMS in real time, so as to update the state of the charging order and the task state of the card order task corresponding to the possible existence of the charging order in the card order task table in time, effectively ensure the charging process of the user, and improve the user experience.
Further, the first time is less than the second time, and the product of the preset times and the first time is less than or equal to the second time.
As can be seen from the above description, in order to ensure that the judgment condition of the preset times is met, the achievement of the preset times and the first time is limited to be smaller than the second time, so that the situation that the processing times of the card list task reach the preset times is ensured when the scheduled task periodically processes the card list task, and the situation that the task state of the card list task is updated in time and fails due to the fact that the processing times of the card list task are increased by 1 once possibly occurs when the second time is reached is avoided, and the card list solving failure is caused.
Referring to fig. 2, a solution terminal for a charging card sheet of an optical storage charging pile includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the following steps when executing the computer program:
S1, a card list task table is established in the cloud platform in advance;
s2, monitoring the receiving and transmitting response conditions between the cloud platform and the EMS in real time, and adding a card list task record in the card list task list according to the receiving and transmitting response conditions;
S3, when the cloud platform background is newly added, dispatching tasks read each card list task in the card list task list every first time, if the state of a charging order corresponding to the card list task is charging, marking the task state of the card list task as completed, otherwise, entering a step S4;
s4, judging whether the creation time of the charging order corresponding to the card order task is within a second time from the current time, if so, issuing a charging stopping instruction to the EMS, marking the execution times of the card order task to be 1, otherwise, entering a step S5;
S5, judging whether the execution times of the card list task exceeds the preset times, if so, marking the state of the charging order of the card list task as the end of the start failure, thawing the user amount, marking the card list task as the success of processing, otherwise marking the card list task as the abnormality of processing and initiating an alarm.
From the above description, the beneficial effects of the invention are as follows: based on the same technical conception, the solution method for the charging card list of the optical storage charging pile is matched with the solution method for the charging card list of the optical storage charging pile, a card list task list is established in advance on a cloud platform, the receiving and transmitting response conditions of a charging order are determined by monitoring the cloud platform and a charging station EMS end in real time, when the card list conditions occur, a card list task record is newly added in the card list task list, then each card list task in the card list task list is periodically read through a dispatching task when the cloud platform is newly added, corresponding processing is carried out on the card list task according to the charging state of the charging order corresponding to the card list task, and meanwhile, task state marking and processing times marking are carried out on each card list task, so that whether the charging order can be successfully completed and whether the card list conditions can be effectively solved are further judged according to the task state of the card list task and the processing times, thereby guaranteeing that a user can restart the charging process, improving user experience, and effectively preventing the loss of charging resources of the optical storage charging station under the condition that the card list fails to recover by self or network connection is interrupted.
Further, the step S2 specifically includes:
S21, when the cloud platform receives a charging order and issues a starting service to the EMS, if a response of the EMS is not received in a preset third time, issuing a charging stopping instruction to the EMS, otherwise, marking the state of the charging order as charging;
S22, when the EMS replies that the cloud platform receives the charging stopping instruction, the cloud platform marks the state of the charging order as ending of the starting failure, and thaws the user amount;
When the EMS does not reply the cloud platform to receive the charging stopping instruction, the cloud platform adds a card list task record in the card list task list, marks the task state as to-be-processed and the processing times as 0, and marks the state of the charging order as in charging.
According to the description, when the charging card list phenomenon occurs, the cloud platform can timely send a charging stopping instruction to the EMS, after receiving the notification, the EMS can successfully interrupt the charging process, and meanwhile, the cloud platform can smoothly complete order termination, so that a user can restart the charging process, and the user experience is improved.
Further, the step S2 further includes:
the EMS sends a charging order to the cloud platform, and after receiving a charging starting service sent by the cloud platform, sends a charging starting instruction to a charging pile to start the charging pile to perform charging operation, and sends a starting result to the cloud platform, if the cloud platform replies that the starting result is received and a corresponding card order task record exists in the card order task list, the task state of the corresponding card order task is marked as completed;
and if the cloud platform does not reply to receive the starting result, the EMS judges whether the cloud platform is disconnected, and if the network disconnection time exceeds the second time, the charging orders in the optical storage charging station which are currently being charged are controlled to stop.
As can be seen from the above description, even if the cloud platform temporarily fails to communicate the command in real time under the condition of the card failure and the network connection interruption, the EMS can actively stop the charging operation of the whole optical storage station on the vehicle after judging that the cloud platform is disconnected from the network for the second time, so as to prevent possible loss.
Further, in the executing process from step S1 to step S5, the cloud platform monitors the start result event of the charging order reported by the EMS in real time, if the start result event of a certain charging order reported by the EMS is received, if the charging order is not finished, the state of the charging order is marked as being charged, and if at this moment, a card order task record corresponding to the charging order exists in the card order task table, the cloud platform marks the task state of the card order task corresponding to the card order task table as completed through the timing scheduling task.
As can be seen from the above description, the cloud platform monitors the starting result of each charging order reported by the EMS in real time, so as to update the state of the charging order and the task state of the card order task corresponding to the possible existence of the charging order in the card order task table in time, effectively ensure the charging process of the user, and improve the user experience.
Further, the first time is less than the second time, and the product of the preset times and the first time is less than or equal to the second time.
As can be seen from the above description, in order to ensure that the judgment condition of the preset times is met, the achievement of the preset times and the first time is limited to be smaller than the second time, so that the situation that the processing times of the card list task reach the preset times is ensured when the scheduled task periodically processes the card list task, and the situation that the task state of the card list task is updated in time and fails due to the fact that the processing times of the card list task are increased by 1 once possibly occurs when the second time is reached is avoided, and the card list solving failure is caused.
The invention provides a solution method and a terminal for a charging order of an optical storage charging pile, which are mainly applied to a scene of the charging order of the optical storage charging station caused by network faults or the receiving and transmitting response delay between a cloud platform and an EMS in the charging operation, and are specifically described below with reference to specific embodiments:
Referring to fig. 1, a first embodiment of the present invention is as follows:
the solution of the charging card sheet of the photo-storage charging pile, as shown in fig. 1, comprises the following steps:
S1, a card list task table is established in the cloud platform in advance.
S2, monitoring the receiving and transmitting response conditions between the cloud platform and the EMS in real time, and adding a card list task record in the card list task list according to the receiving and transmitting response conditions.
S3, when the cloud platform is newly added, the task is scheduled to read each card list task in the card list task list every first time, if the state of a charging order corresponding to the card list task is charging, the task state of the card list task is marked as completed, and otherwise, the step S4 is carried out.
S4, judging whether the creating time of the charging order corresponding to the card order task is within a second time from the current time, if so, issuing a charging stopping instruction to the EMS, marking the execution times of the card order task to be increased by 1, and otherwise, entering a step S5. Wherein the second time may be set to 120s, which represents that charging of the charging stake is not allowed to be initiated any more within lock 120s,120 s.
S5, judging whether the execution times of the card list task exceeds the preset times, if so, marking the state of the charging order of the card list task as the end of the start failure, thawing the user amount, marking the card list task as the success of processing, otherwise marking the card list task as the abnormality of processing and initiating an alarm.
In this embodiment, a card list task table is established in advance, and a card list condition is determined by monitoring the receiving and dispatching response condition of a charging order between the cloud platform and an EMS end of a charging station in real time, when the card list condition occurs, a card list task record is newly added in the card list task table, then each card list task in the card list task table is periodically read by dispatching tasks when the cloud platform is newly added, corresponding processing is performed on the card list task according to the charging state of the charging order corresponding to the card list task, and meanwhile, task state marking and processing frequency marking are performed on each card list task, so that whether the charging order can be successfully completed and whether the card list condition is effectively solved can be further judged according to the task state of the card list task and the processing frequency thereof, thereby ensuring that a user can restart the charging process, improving user experience, and effectively preventing the loss of charging resources of an optical storage charging station under the condition that the card list fails due to failure or network connection interruption.
In the executing process of step S1 to step S5, the cloud platform monitors a start result event of a charging order reported by the EMS in real time, if the start result event of a certain charging order reported by the EMS is received, if the charging order is not ended, the state of the charging order is marked as charging, and if at this moment, a card order task record corresponding to the charging order exists in a card order task table, the cloud platform marks the task state of a card order task corresponding to the card order task table as completed through a timing scheduling task.
The cloud platform monitors the starting result of each charging order reported by the EMS in real time, so that the state of the charging order and the task state of the corresponding card order task in the card order task list can be updated in time, the charging process of a user is further effectively ensured, and the user experience is improved.
The second embodiment of the invention is as follows:
a solution for a charging card sheet of an optical storage charging pile, on the basis of the first embodiment, in this embodiment, step S2 specifically includes:
S21, when the cloud platform receives the charging order and issues the starting service to the EMS, if the response of the EMS is not received in waiting for a preset third time, issuing a charging stopping instruction to the EMS, otherwise marking the state of the charging order as charging, wherein in the embodiment, the third time can be set to be 20S, namely, when the response of the EMS is not received in waiting for 20S after the cloud platform issues the starting service, issuing the charging stopping instruction to the EMS.
S22, when the EMS replies to the cloud platform to receive the charging stopping instruction, the cloud platform marks the state of the charging order as ending of the starting failure, and thaws the user amount, and the process ends.
When the EMS does not reply to the cloud platform and receives a charging stopping instruction, the cloud platform adds a card list task record in the card list task list, marks the task state as to-be-processed and the processing times as 0, and marks the state of the charging order as charging.
In this embodiment, when the charging card list phenomenon occurs, the cloud platform may send a charging stopping instruction to the EMS in time, and after receiving the notification, the EMS may successfully interrupt the charging process, and at the same time, the cloud platform may also smoothly complete the order termination, thereby ensuring that the user may restart the charging process, and improving user experience.
Wherein step S2 further comprises:
After the EMS sends a charging order to the cloud platform and receives the charging starting service sent by the cloud platform, the EMS does not know whether a receiving result of the charging starting service returned to the cloud platform is successfully received by the cloud platform, at this time, the EMS sends a charging starting instruction to the charging pile according to a normal flow to start the charging pile to perform charging operation, and sends a starting result event to the cloud platform to inform the cloud platform that the charging pile is started to charge in operation. If the cloud platform replies that the starting result is received and the cloud platform charging order is not marked as the starting failure by the timing scheduling task at the moment, the charging order can be continuously charged; if the cloud platform replies that the starting result is received and the charging order has the corresponding card list task record in the card list task list, marking the task state of the corresponding card list task as completed.
If the cloud platform does not reply to receive the starting result, the EMS judges whether the cloud platform is disconnected, if the network disconnection time exceeds the second time, the charging orders in the optical storage charging station which are currently being charged are controlled to stop.
Even if the cloud platform can not transmit the command in real time temporarily under the condition of card single fault and network connection interruption, the EMS can actively stop the charging operation of the whole optical storage station on the vehicle after judging that the cloud platform is disconnected to reach the second time, so that possible loss is prevented.
Meanwhile, in the embodiment, the first time is less than the second time, and the product of the preset times and the first time is less than or equal to the second time.
In order to ensure that the judgment condition of the preset times is met, the achievement of the preset times and the first time is limited to be smaller than the second time, so that the condition that the processing times of the card list task reach the preset times is ensured to be effectively solved when the scheduled task periodically processes the card list task, and the problem that the task state of the card list task is updated and failed in time due to the fact that the processing times of the card list task are increased by 1 once possibly occurs is avoided to be reached at the second time, and the problem of card list solving failure is avoided. For example, when the second time is set to 120s (i.e. the locking time of the charging post is 120 s), the first time may be set to 20s, and the preset number of times may be set to 3 times, so as to remind the EMS that the charging order needs to be stopped as many times as possible, so as to ensure that the effect of executing more than 3 times can be achieved within 120 s.
Referring to fig. 2, a third embodiment of the present invention is as follows:
The solution terminal 1 of the photo-stored charging pile charging card sheet comprises a memory 2, a processor 3 and a computer program stored in the memory 2 and capable of running on the processor 3, wherein the processor 3 executes the computer program to complete the steps in the solution of the photo-stored charging pile charging card sheet in the first embodiment or the second embodiment.
In summary, the solution method and the terminal for the charging card sheet of the photo-storage charging pile provided by the invention have the following beneficial effects:
1. When the charging card list phenomenon occurs, the cloud platform can send out a charging stopping instruction to the EMS in time so that the charging process can be successfully interrupted after the EMS receives the notification, and meanwhile, the cloud platform can smoothly finish order termination, so that a user can restart the charging process, and the user experience is improved;
2. Under the condition that the card list is in fault and the network connection is interrupted, the EMS system can automatically judge and actively stop the charging operation of the vehicle within a preset time period after the cloud platform is disconnected, so that possible loss is prevented, although the cloud platform can not transmit the command in real time temporarily.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent changes made by the specification and drawings of the present invention, or direct or indirect application in the relevant art, are included in the scope of the present invention.
Claims (6)
1. The solution method of the charging card sheet of the photo-storage charging pile is characterized by comprising the following steps:
S1, a card list task table is established in the cloud platform in advance;
s2, monitoring the receiving and transmitting response conditions between the cloud platform and the EMS in real time, and adding a card list task record in the card list task list according to the receiving and transmitting response conditions;
S3, when the cloud platform background is newly added, dispatching tasks read each card list task in the card list task list every first time, if the state of a charging order corresponding to the card list task is charging, marking the task state of the card list task as completed, otherwise, entering a step S4;
s4, judging whether the creation time of the charging order corresponding to the card order task is within a second time from the current time, if so, issuing a charging stopping instruction to the EMS, marking the execution times of the card order task to be 1, otherwise, entering a step S5;
S5, judging whether the execution times of the card list task exceeds the preset times, if so, marking the state of the charging order of the card list task as the end of the start failure, thawing the user amount, marking the card list task as the successful processing, otherwise marking the card list task as the abnormal processing and initiating an alarm;
the step S2 specifically comprises the following steps:
S21, when the cloud platform receives a charging order and issues a starting service to the EMS, if a response of the EMS is not received in a preset third time, issuing a charging stopping instruction to the EMS, otherwise, marking the state of the charging order as charging;
S22, when the EMS replies that the cloud platform receives the charging stopping instruction, the cloud platform marks the state of the charging order as ending of the starting failure, and thaws the user amount;
When the EMS does not reply the cloud platform to receive the charging stopping instruction, the cloud platform adds a card list task record in the card list task list, marks the task state as to-be-processed and the processing times as 0, and marks the state of the charging order as in charging;
the step S2 further includes:
the EMS sends a charging order to the cloud platform, and after receiving a charging starting service sent by the cloud platform, sends a charging starting instruction to a charging pile to start the charging pile to perform charging operation, and sends a starting result to the cloud platform, if the cloud platform replies that the starting result is received and a corresponding card order task record exists in the card order task list, the task state of the corresponding card order task is marked as completed;
and if the cloud platform does not reply to receive the starting result, the EMS judges whether the cloud platform is disconnected, and if the network disconnection time exceeds the second time, the charging orders in the optical storage charging station which are currently being charged are controlled to stop.
2. The method for solving the charging card list of the optical storage charging pile according to claim 1 is characterized in that in the execution process of the steps S1 to S5, the cloud platform monitors the starting result event of the charging order reported by the EMS in real time, if the starting result event of a certain charging order reported by the EMS is received, if the charging order is not finished, the state of the charging order is marked as charging, and if at the moment, a card list task record corresponding to the charging order exists in the card list task list, the cloud platform marks the task state of the card list task corresponding to the card list task list as completed through the timing scheduling task.
3. The method according to claim 1, wherein the first time is less than the second time, and the product of the preset number of times and the first time is less than or equal to the second time.
4. The solving terminal of the charging card list of the optical storage charging pile is characterized by comprising a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the processor realizes the following steps when executing the computer program:
S1, a card list task table is established in the cloud platform in advance;
s2, monitoring the receiving and transmitting response conditions between the cloud platform and the EMS in real time, and adding a card list task record in the card list task list according to the receiving and transmitting response conditions;
S3, when the cloud platform background is newly added, dispatching tasks read each card list task in the card list task list every first time, if the state of a charging order corresponding to the card list task is charging, marking the task state of the card list task as completed, otherwise, entering a step S4;
s4, judging whether the creation time of the charging order corresponding to the card order task is within a second time from the current time, if so, issuing a charging stopping instruction to the EMS, marking the execution times of the card order task to be 1, otherwise, entering a step S5;
S5, judging whether the execution times of the card list task exceeds the preset times, if so, marking the state of the charging order of the card list task as the end of the start failure, thawing the user amount, marking the card list task as the successful processing, otherwise marking the card list task as the abnormal processing and initiating an alarm;
the step S2 specifically comprises the following steps:
S21, when the cloud platform receives a charging order and issues a starting service to the EMS, if a response of the EMS is not received in a preset third time, issuing a charging stopping instruction to the EMS, otherwise, marking the state of the charging order as charging;
S22, when the EMS replies that the cloud platform receives the charging stopping instruction, the cloud platform marks the state of the charging order as ending of the starting failure, and thaws the user amount;
When the EMS does not reply the cloud platform to receive the charging stopping instruction, the cloud platform adds a card list task record in the card list task list, marks the task state as to-be-processed and the processing times as 0, and marks the state of the charging order as in charging;
the step S2 further includes:
the EMS sends a charging order to the cloud platform, and after receiving a charging starting service sent by the cloud platform, sends a charging starting instruction to a charging pile to start the charging pile to perform charging operation, and sends a starting result to the cloud platform, if the cloud platform replies that the starting result is received and a corresponding card order task record exists in the card order task list, the task state of the corresponding card order task is marked as completed;
and if the cloud platform does not reply to receive the starting result, the EMS judges whether the cloud platform is disconnected, and if the network disconnection time exceeds the second time, the charging orders in the optical storage charging station which are currently being charged are controlled to stop.
5. The solution terminal of the charging order of the optical storage charging pile according to claim 4, wherein in the executing process of the steps S1 to S5, the cloud platform monitors a start result event of the charging order reported by the EMS in real time, if the start result event of a certain charging order reported by the EMS is received, if the charging order is not finished, the state of the charging order is marked as charging, and if at this moment, a card order task record corresponding to the charging order exists in the card order task table, the cloud platform marks the task state of the card order task corresponding to the card order task table as completed through the timing scheduling task.
6. The terminal for solving the charging card ticket of the optical storage charging pile according to claim 4, wherein the first time is less than the second time, and the product of the preset times and the first time is less than or equal to the second time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410658867.XA CN118229275B (en) | 2024-05-27 | 2024-05-27 | Solution method and terminal for charging card list of optical storage charging pile |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410658867.XA CN118229275B (en) | 2024-05-27 | 2024-05-27 | Solution method and terminal for charging card list of optical storage charging pile |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118229275A CN118229275A (en) | 2024-06-21 |
CN118229275B true CN118229275B (en) | 2024-08-16 |
Family
ID=91498159
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410658867.XA Active CN118229275B (en) | 2024-05-27 | 2024-05-27 | Solution method and terminal for charging card list of optical storage charging pile |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118229275B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117215814A (en) * | 2023-08-04 | 2023-12-12 | 福建时代星云科技有限公司 | Method and terminal applied to fault state tracking detection of charging station equipment |
CN117333267A (en) * | 2023-10-27 | 2024-01-02 | 北京新能源汽车股份有限公司 | Method and device for processing abnormal order of charging pile and readable storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FI20225337A1 (en) * | 2022-04-22 | 2023-10-23 | Liikennevirta Oy / Virta Ltd | A scalable method to handle faults in a network of electric vehicle charging stations |
CN115118709B (en) * | 2022-05-24 | 2023-08-15 | 福建星云电子股份有限公司 | Method and system for acquiring fault file of charging pile |
CN116911839A (en) * | 2023-06-15 | 2023-10-20 | 华人运通(上海)云计算科技有限公司 | Charging order processing method, electronic equipment and storage medium |
-
2024
- 2024-05-27 CN CN202410658867.XA patent/CN118229275B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117215814A (en) * | 2023-08-04 | 2023-12-12 | 福建时代星云科技有限公司 | Method and terminal applied to fault state tracking detection of charging station equipment |
CN117333267A (en) * | 2023-10-27 | 2024-01-02 | 北京新能源汽车股份有限公司 | Method and device for processing abnormal order of charging pile and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN118229275A (en) | 2024-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105610984B (en) | A kind of method of remote control vehicle | |
CN112104702B (en) | Power management method for vehicle TBOX, vehicle TBOX and medium | |
CN109857443A (en) | A kind of upgrade method and system of shared motor bicycle whole-control system | |
CN109274703A (en) | A kind of management control system and method applied to charging pile parking stall | |
CN113263947A (en) | Battery replacing method between electric vehicle with Bluetooth module and battery replacing station | |
CN105530291A (en) | Method, device and system for obtaining diagnostic equipment state | |
CN112590606A (en) | Method for completing real-time monitoring of charging pile through connectionless UDP (user Datagram protocol) message | |
CN109064772A (en) | Matching process, device and the storage medium of electric car and charging parking stall | |
CN111404918A (en) | Cloud mobile phone distributed service emergency authentication method, device and system | |
CN118229275B (en) | Solution method and terminal for charging card list of optical storage charging pile | |
CN107342789B (en) | Networking communication method of cable anti-theft monitoring system | |
CN109768850B (en) | Vehicle-mounted communication method and system | |
CN109495546B (en) | Data processing method, system and server | |
CN113805920A (en) | OTA (over the air) upgrading method and upgrading device | |
CN109451075A (en) | The integrated communication middleware system of car networking Intelligent hardware | |
CN109823225B (en) | Charging management method, computer device, and storage medium | |
CN106327917B (en) | The management method and system of parking lot reservation parking | |
CN114826981B (en) | System and method for realizing application resident in cloud mobile phone | |
CN115158080A (en) | Remote reservation charging method, server and charging pile | |
CN109039427B (en) | Ship monitoring management device | |
CN115782830A (en) | Battery replacement method and device for electric equipment, electronic equipment and storage medium | |
CN114679374B (en) | Reset control method and device and electronic equipment | |
CN113612764B (en) | Power grid monitoring system data cross-region reliable transmission method based on reply confirmation mechanism | |
CN111061255B (en) | Control method and device of electric vehicle | |
CN110322141B (en) | Real-time automatic order receiving method, device and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |