CN115314530B - Information processing method and device and vehicle - Google Patents

Information processing method and device and vehicle Download PDF

Info

Publication number
CN115314530B
CN115314530B CN202210764027.2A CN202210764027A CN115314530B CN 115314530 B CN115314530 B CN 115314530B CN 202210764027 A CN202210764027 A CN 202210764027A CN 115314530 B CN115314530 B CN 115314530B
Authority
CN
China
Prior art keywords
instruction
cloud server
client
query
execution result
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
Application number
CN202210764027.2A
Other languages
Chinese (zh)
Other versions
CN115314530A (en
Inventor
于浩洋
高洪伟
吕贵林
刘雨恒
蒋明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Group Corp filed Critical FAW Group Corp
Priority to CN202210764027.2A priority Critical patent/CN115314530B/en
Publication of CN115314530A publication Critical patent/CN115314530A/en
Application granted granted Critical
Publication of CN115314530B publication Critical patent/CN115314530B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Human Computer Interaction (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an information processing method, an information processing device and a vehicle. Wherein the method comprises the following steps: responding to the stopping operation of the client, and determining a first query instruction sent to the cloud server before the stopping operation of the client; responding to the client to rerun and sending a second instruction to the cloud server, and determining a target time interval; and based on the target time interval, determining to send the first query instruction or the second query instruction to the cloud server. The invention solves the technical problem that the client is closed when inquiring the instruction result and the result inquiry failure occurs after reopening in the related technology.

Description

Information processing method and device and vehicle
Technical Field
The present invention relates to the field of intelligent communications, and in particular, to an information processing method, an information processing device, and a vehicle.
Background
Most users currently control devices on a vehicle through a mobile phone, for example, an air conditioner switch, a door switch and the like on the vehicle are controlled by a mobile phone client, and a control result is obtained through the mobile phone client. However, when the client is closed during the process of running the query command, the problem that the user repeatedly clicks the query to obtain the control result after the client is opened again may be caused.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides an information processing method, an information processing device and a vehicle, which at least solve the technical problem that in the related art, a client is closed when a command result is inquired, and the result inquiry failure occurs after the client is opened again.
According to an aspect of an embodiment of the present invention, there is provided an information processing method including: responding to the stopping operation of the client, determining a first query instruction sent to the cloud server before the stopping operation of the client, wherein the first query instruction is used for querying a first execution result of the first instruction sent by the client, the first instruction is used for controlling the target vehicle to execute an operation corresponding to the first instruction, and the first execution result is stored by the cloud server; determining a target time interval in response to the client re-running and sending a second instruction to the cloud server, wherein the target time interval is used for representing the time interval of the client sending the first query instruction and the second instruction, and the second instruction is used for controlling the target vehicle to execute the operation corresponding to the second instruction; and determining to send a first query instruction or a second query instruction to the cloud server based on the target time interval, wherein the second query instruction is used for querying a first execution result of the first instruction.
Optionally, determining to send the first query instruction or the second query instruction to the cloud server based on the target time interval includes: responding to the fact that the target time interval is smaller than or equal to a first preset time, sending a first query instruction to the cloud server, and receiving a first execution result returned by the cloud server, wherein the first preset time is used for representing the maximum waiting time from sending the first query instruction to receiving the first execution result of the client; and responding to the target time interval being greater than the first preset time, sending a second query instruction to the cloud server, and receiving a first execution result returned by the cloud server.
Optionally, in response to the target time interval being greater than the first preset time, sending a second query instruction to the cloud server, and receiving a first execution result returned by the cloud server, including: comparing the target time interval with a second preset time, wherein the second preset time is longer than the first preset time; responding to the fact that the target time interval is smaller than or equal to a second preset time, sending a second query instruction to the cloud server, and receiving a first execution result returned by the cloud server; and in response to the target time interval being greater than the second preset time, not sending a second query instruction to the cloud server.
Optionally, in response to receiving the first execution result returned by the cloud server, the method further includes: and sending a clearing instruction to the cloud server, wherein the clearing instruction is used for controlling the cloud server to delete the first execution result.
Optionally, the client stores a first time of sending the first query instruction, where determining the target time interval includes: acquiring a second moment when the client sends a second instruction; and obtaining a difference value between the second moment and the first moment to obtain a target time interval.
Optionally, the method further comprises: and sending the running state of the client to the cloud server, wherein the running state is used for representing whether the client stops running or not, and the running state is used for determining the storage time of the execution result in the cloud server.
Optionally, in response to the running state being that the client stops running, the storage time is a second preset time; and responding to the running state client not stopping running, wherein the storage time is a third preset time, and the second preset time is longer than the third preset time.
According to another aspect of the embodiment of the present invention, there is also provided an information processing apparatus including: the instruction determining module is used for responding to the stopping operation of the client and determining a first query instruction sent to the cloud server before the stopping operation of the client, wherein the first query instruction is used for querying a first execution result of the first instruction sent by the client, the first instruction is used for controlling the target vehicle to execute an operation corresponding to the first instruction, and the first execution result is stored by the cloud server; the time determining module is used for responding to the re-running of the client and sending a second instruction to the cloud server, and determining a target time interval, wherein the target time interval is used for representing the time interval of the client sending the first query instruction and the second instruction, and the second instruction is used for controlling the target vehicle to execute the operation corresponding to the second instruction; the instruction sending module is used for determining to send a first query instruction or a second query instruction to the cloud server based on the target time interval, wherein the second query instruction is used for querying a first execution result of the second instruction.
Optionally, the instruction sending module includes: the first instruction sending unit is used for responding to the fact that the target time interval is smaller than or equal to a first preset time, sending a first query instruction to the cloud server and receiving a first execution result returned by the cloud server, wherein the first preset time is used for representing the maximum waiting time from the sending of the first query instruction to the receiving of the first execution result of the client; the second instruction sending unit is used for responding to the fact that the target time interval is larger than the first preset time, sending a second query instruction to the cloud server and receiving a first execution result returned by the cloud server.
Optionally, the second instruction transmitting unit includes: a time comparison subunit, configured to compare the target time interval with a second preset time, where the second preset time is greater than the first preset time; the instruction sending subunit is used for responding to the fact that the target time interval is smaller than or equal to a second preset time, sending a second query instruction to the cloud server and receiving a first execution result returned by the cloud server; and in response to the target time interval being greater than the second preset time, not sending a second query instruction to the cloud server.
Optionally, the instruction sending module further includes: the clear instruction sending unit is used for sending a clearing instruction to the cloud server, wherein the clearing instruction is used for controlling the cloud server to delete the first execution result.
Optionally, the time determining module includes: the time acquisition unit is used for acquiring a second time when the client sends a second instruction; and the time determining unit is used for obtaining the difference value between the second moment and the first moment to obtain a target time interval.
Optionally, the apparatus further comprises: the state sending module is used for sending the running state of the client to the cloud server, wherein the running state is used for representing whether the client stops running or not, and the running state is used for determining the storage time of the execution result in the cloud server.
Optionally, the apparatus further comprises: the storage determining module responds to the operation state that the client stops operating, and the storage time is a second preset time; and responding to the running state client not stopping running, wherein the storage time is a third preset time, and the second preset time is longer than the third preset time.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium including a stored program, where the program, when run, controls a device in which the computer-readable storage medium is located to execute the information processing method of any one of the above.
According to another aspect of the embodiment of the present invention, there is also provided a processor, where a program of the processor executes the information processing method of any one of the above.
According to another aspect of the embodiment of the present invention, there is also provided a target vehicle including: one or more processors; a storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are caused to perform the information processing method of any one of the above.
In the embodiment of the invention, a first query instruction sent to a cloud server before the client stops running is determined by responding to the stop of the client; responding to the client to rerun and sending a second instruction to the cloud server, and determining a target time interval; based on the target time interval, a mode of sending the first query instruction or the second query instruction to the cloud server is determined, and the specific query instruction which is needed to be sent by the client after the client is re-opened is determined according to the running state of the client and the target time interval from the sending of the first query instruction to the re-sending of the second instruction, so that the problem that the client cannot acquire an execution result due to the fact that the execution result stored in the cloud server is deleted due to overlong target time is avoided, and further the technical problem that the client is closed when the result of the query instruction is obtained, and the result query fails after the re-opening in the related art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a schematic diagram of a client information handling system, shown in accordance with an embodiment of the present invention;
FIG. 2 is a flow chart of an information processing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an information storage and query method according to an embodiment of the present invention;
fig. 4 is a block diagram showing a structure of an information processing apparatus according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
At present, because the transmission and feedback links of the control instruction are longer, generally, after the control instruction is issued through the mobile phone client, a longer response time is often required to obtain the control result, which leads to that the user is likely to actively close the client due to overlong waiting time and then reopen and repeatedly click the control instruction to control the vehicle equipment, but the client cannot determine the specific last control instruction clicked by the user, and when the user repeatedly clicks the control instruction, the client is likely to repeatedly report errors, such as "instruction is in progress", "instruction error", and the like, thereby affecting the use experience of the user.
Example 1
According to an embodiment of the present invention, there is provided an information processing method embodiment, it should be noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order other than that shown or described herein.
FIG. 1 is a schematic diagram of a client information handling system according to an embodiment of the present invention, and as shown in FIG. 1, the system may be divided into three parts: the cloud terminal comprises a client, a cloud server and a target vehicle.
Generally, a user may send a control instruction to a cloud server by clicking a control button on a client, and the cloud server sends the control instruction to a target vehicle according to target vehicle identification information and the like in the control instruction. The target vehicle may generally include two types of controllers, one of which is a T-BOX (information processing apparatus) and a domain controller corresponding to a device on the vehicle.
After receiving the control instruction issued by the cloud server, the T-BOX can send the control quality to the corresponding domain controller so as to control the corresponding equipment to run, whether the control is successful or not, the T-BOX can return an execution result to the cloud server, the cloud server can store the execution result for a period of time, and after sending the control instruction to the cloud server, the client can also send a query instruction to the cloud server so as to query the execution result of the control instruction, and if the client receives the control result successfully within the preset time, the client represents that the execution of the control instruction is successful; if the client does not receive the control result within the preset time, the control instruction is likely to fail to execute.
Fig. 2 is a flowchart of an information processing method according to an embodiment of the present invention, as shown in fig. 2, the method including the steps of:
step S202, in response to the stopping of the client, determining a first query instruction sent to the cloud server before the stopping of the client.
The first query instruction is used for querying a first execution result of a first instruction sent by the client, the first instruction is used for controlling the target vehicle to execute an operation corresponding to the first instruction, and the first execution result is stored by the cloud server.
The client may refer to an application program on an intelligent device such as a mobile phone or a computer, for example, various vehicle control applications; the first instruction may refer to an instruction for controlling a vehicle device, which is sent to the target vehicle by a vehicle control application, for example, controlling to switch a door, opening and closing an air conditioner, adjusting the temperature of the air conditioner, and the like; the first query instruction may be an instruction for querying the execution result, and the query is typically performed by a polling method.
Generally, as shown in the foregoing information processing system, when the cloud server receives the first instruction and stores the corresponding execution result for a period of time, in order to avoid the problem that the client is closed in the process of querying the execution result and the client reports errors when re-querying, the client may send a notification instruction to the cloud server when the client is closed to determine the first query instruction that the client is in progress when the client is closed, thereby avoiding the problem that the client cannot determine the specific control instruction clicked by the last user.
Optionally, in response to the client ceasing to operate, the method further comprises: and sending the running state of the client to the cloud server, wherein the running state is used for representing whether the client stops running or not, and the running state is used for determining the storage time of the execution result in the cloud server.
In an alternative scheme of this embodiment, in order to avoid that the client is turned off for too long, so that the execution result stored in the cloud server is deleted, when the client stops running, the client may further send its running state to the cloud server, so as to notify the cloud server to execute a corresponding preset operation, for example, may notify the cloud server to determine the storage time for storing the execution result.
Optionally, in response to the running state being that the client stops running, the storage time is a second preset time; and responding to the running state client not stopping running, wherein the storage time is a third preset time, and the second preset time is longer than the third preset time.
The third preset time may be the time when the cloud server stores the execution result when the client is running normally, and is denoted by T1; the second preset time may be a time when the client stops running, where the cloud server stores the execution result, and is denoted by T2. Generally, the specific time length of T2 is greater than T1, which may be determined according to practical situations, and when the client is closed in the process of querying the execution result, the time of storing the execution result originally by the cloud server may be prolonged from T1 to T2.
By closing the client query result in the process, the time for storing the execution result in the cloud server is prolonged, and the problem that the execution result stored in the cloud server disappears due to overlong time, and the accurate execution result cannot be obtained when the client is opened again to execute the query operation can be avoided.
In step S204, the target time interval is determined in response to the client re-running and sending the second instruction to the cloud server.
The target time interval is used for representing the time interval of the client side for sending the first query instruction and the second instruction, and the second instruction is used for controlling the target vehicle to execute the operation corresponding to the second instruction.
The second command is identical to the first command except for the transmission time. Generally, after the user reopens the client, the user often clicks the last execution operation, that is, the second instruction, to re-control the vehicle device on the target vehicle and obtain the corresponding execution result, so in order to avoid that the user repeatedly sends the second instruction to obtain the execution result when the execution result stored in the cloud server has disappeared due to the overlong time of sending the two instructions, the user experiences worse, the target time interval of sending the two instructions by the client can be obtained, and then the corresponding preset operation is executed according to the time interval, so as to avoid that the user generates larger emotion fluctuation due to the fact that the execution result is not obtained continuously. Specific preset operations are described below.
Optionally, the client stores a first time of sending the first query instruction, where determining the target time interval includes: acquiring a second moment when the client sends a second instruction; and obtaining a difference value between the second moment and the first moment to obtain a target time interval.
The target time interval can be determined according to the time when the client sends the first instruction and the second instruction, and the method can be determined according to the actual situation without specific limitation.
Step S206, based on the target time interval, determining to send the first query instruction or the second query instruction to the cloud server.
The second query instruction is used for querying a first execution result of the first instruction.
The execution time of the second query instruction and the execution time of the first query instruction are used for querying the execution result of the first instruction, but the execution time of the second query instruction and the execution time of the first query instruction are different, for example, the query time of the first query instruction may be 1min, the query time of the second query instruction is often less than the query time of the first query instruction, and may be 30s, and the specific query time may also be determined according to the storage time of the current storage execution result of the cloud server, which is described in detail below.
The client may determine whether to send the first query instruction or the second query instruction according to the target time interval, so as to obtain the execution result of the first instruction.
In the embodiment of the invention, a first query instruction sent to a cloud server before the client stops running is determined by responding to the stop of the client; responding to the client to rerun and sending a second instruction to the cloud server, and determining a target time interval; based on the target time interval, a mode of sending the first query instruction or the second query instruction to the cloud server is determined, and the specific query instruction which is needed to be sent by the client after the client is re-opened is determined according to the running state of the client and the target time interval from the sending of the first query instruction to the re-sending of the second instruction, so that the problem that the client cannot acquire an execution result due to the fact that the execution result stored in the cloud server is deleted due to overlong target time is avoided, and further the technical problem that the client is closed when the result of the query instruction is obtained, and the result query fails after the re-opening in the related art is solved.
Optionally, determining to send the first query instruction or the second query instruction to the cloud server based on the target time interval includes: responding to the fact that the target time interval is smaller than or equal to a first preset time, sending a first query instruction to the cloud server, and receiving a first execution result returned by the cloud server, wherein the first preset time is used for representing the maximum waiting time from sending the first query instruction to receiving the first execution result of the client; and responding to the target time interval being greater than the first preset time, sending a second query instruction to the cloud server, and receiving a first execution result returned by the cloud server.
The first preset time may refer to a maximum response time of the first query instruction, that is, a maximum waiting time from sending the first query instruction to receiving the first execution result by the client.
Considering that the communication time of the whole information processing system is long, the first preset time is generally less than or equal to the time when the client is running normally, and the cloud server stores the execution result, that is, the first preset time is generally less than or equal to T1. The method for specifically determining the first preset time is not particularly limited as long as a time less than or equal to T1 can be determined. For example, if T1 is 1min and the communication duration of the entire information processing system is 10s, the first preset time may be 50s.
The method for determining the transmitted query command according to the target time interval may be as follows: firstly, the size of a target time interval and a first preset time can be judged, if the target time interval is smaller than the first preset time, after a user sends a second instruction through a client, the client can resend the first inquiry instruction for the first time based on the first inquiry instruction sent before closing to obtain a first execution result; if the target time interval is greater than the first preset time, the client can send a second query instruction after the user sends the second instruction through the client.
For example, if the first preset time is 50s, the client is turned off at 10s after sending the first query command, and then the client is turned on again after 5s, and sends the second command, the target time interval is 15s, which is smaller than the first preset time, and it can be determined that the client sends the first query command.
In an alternative to this embodiment, in addition to sending the first query command according to the original response time of 50s, when the client resends the first query command, the response time may be determined according to the target time interval, the first preset time, and the sending time before the client is turned off, that is, the response time of the first query command resent by the client may be 50s-5s-15 s=30s.
If the client is turned off at the 10 th time after the first query instruction is sent, and then the client is turned on again after 50s, the target time interval is larger than the first preset time at this time, so that it can be determined that the second query instruction is sent by the client.
Optionally, in response to the target time interval being greater than the first preset time, sending a second query instruction to the cloud server, and receiving a first execution result returned by the cloud server, including: comparing the target time interval with a second preset time, wherein the second preset time is longer than the first preset time; responding to the fact that the target time interval is smaller than or equal to a second preset time, sending a second query instruction to the cloud server, and receiving a first execution result returned by the cloud server; and in response to the target time interval being greater than the second preset time, not sending a second query instruction to the cloud server.
When the target time interval is greater than the first preset time, the client may send a second query instruction to the cloud server to obtain the first execution result.
In an alternative solution of this embodiment, whether to send the second query instruction may also be determined according to a second preset time that is prolonged by the cloud server and that stores the execution result.
If the target time interval is smaller than the second preset time, the client can send a second query instruction to acquire the execution result; if the target time interval is longer than the second preset time, the client does not send the second query instruction any more, so that the situation that the user cannot acquire a specific execution result because the execution result stored in the cloud server is still deleted even if the cloud server prolongs the storage time of the execution result is avoided.
In an alternative scheme of this embodiment, if the target time interval is greater than the second preset time, the client may be notified of a prompt message such as "the instruction is sent" to remind the user to check whether the vehicle device on the target vehicle is running.
Optionally, in response to receiving the first execution result returned by the cloud server, the method further includes: and sending a clearing instruction to the cloud server, wherein the clearing instruction is used for controlling the cloud server to delete the first execution result.
In an alternative scheme of this embodiment, after the client receives the execution result returned by the cloud server, if the execution result corresponds to an important instruction result, for example, the door of the target vehicle is unlocked, the execution result stored in the cloud server may be actively deleted because of safety consideration of the system, that is, the client may send a clear instruction to the cloud server after receiving the execution result, and the cloud server deletes the execution result based on the clear instruction.
In order to clearly show the above information processing method, fig. 3 is a schematic diagram of an information storage and query method according to an embodiment of the present invention, and as shown in fig. 3, the information processing method may be divided into two parts based on the above information processing system: one part is an operation instruction executed by the client, and the other part is an operation instruction executed by the cloud server.
On the client side, the client can send the running state, the control instruction and the query instruction to the cloud server in real time, if the client is closed when the execution result of the control instruction is queried, the client can determine the target interval time between two instructions when the corresponding control instruction is sent for the second time after the client is re-run, and then determine the type of the re-sent query instruction based on the target interval time.
If the target time interval is smaller than the first preset time, a first query instruction is sent on the basis of the query instruction sent before the client is closed; if the target time interval is larger than the first preset time and smaller than the second preset time, a second query instruction is sent; if the target time interval is greater than the second preset time, the query instruction is not sent any more, and the user can be informed that the instruction is sent at the moment, so that the user can check the execution result by himself.
On the cloud server side, the cloud server can receive a control instruction and a query instruction sent by the client side in real time and the running state of the client side, when the client side is closed when the query instruction is sent, the cloud server can actively prolong the time of storing an execution result corresponding to the control instruction, and when the query instruction sent by the client side is received again, the execution result can be returned to the client side.
Example 2
According to another aspect of the embodiments of the present invention, corresponding to the above-described embodiment of fault diagnosis of the charging device, the present specification also provides an information processing apparatus, please refer to fig. 4, fig. 4 is a block diagram of an information processing apparatus according to an embodiment of the present invention, the apparatus comprising: the instruction determining module 402 is used for determining a first query instruction sent to the cloud server before the client stops running in response to the client stopping running, wherein the first query instruction is used for querying a first execution result of the first instruction sent by the client, the first instruction is used for controlling the target vehicle to execute an operation corresponding to the first instruction, and the first execution result is stored by the cloud server; the time determining module 404 is configured to determine a target time interval in response to the client re-running and sending a second instruction to the cloud server, where the target time interval is used to characterize a time interval in which the client sends the first query instruction and the second instruction, and the second instruction is used to control the target vehicle to execute an operation corresponding to the second instruction; the instruction sending module 406 is configured to determine to send a first query instruction or a second query instruction to the cloud server based on the target time interval, where the second query instruction is used to query a first execution result of the second instruction.
Optionally, the instruction sending module 406 includes: the first instruction sending unit is used for responding to the fact that the target time interval is smaller than or equal to a first preset time, sending a first query instruction to the cloud server and receiving a first execution result returned by the cloud server, wherein the first preset time is used for representing the maximum waiting time from the sending of the first query instruction to the receiving of the first execution result of the client; the second instruction sending unit is used for responding to the fact that the target time interval is larger than the first preset time, sending a second query instruction to the cloud server and receiving a first execution result returned by the cloud server.
Optionally, the second instruction transmitting unit includes: a time comparison subunit, configured to compare the target time interval with a second preset time, where the second preset time is greater than the first preset time; the instruction sending subunit is used for responding to the fact that the target time interval is smaller than or equal to a second preset time, sending a second query instruction to the cloud server and receiving a first execution result returned by the cloud server; and in response to the target time interval being greater than the second preset time, not sending a second query instruction to the cloud server.
Optionally, the instruction sending module 406 further includes: the clear instruction sending unit is used for sending a clearing instruction to the cloud server, wherein the clearing instruction is used for controlling the cloud server to delete the first execution result.
Optionally, the time determination module 404 includes: the time acquisition unit is used for acquiring a second time when the client sends a second instruction; and the time determining unit is used for obtaining the difference value between the second moment and the first moment to obtain a target time interval.
Optionally, the apparatus further comprises: the state sending module is used for sending the running state of the client to the cloud server, wherein the running state is used for representing whether the client stops running or not, and the running state is used for determining the storage time of the execution result in the cloud server.
Optionally, the apparatus further comprises: the storage determining module responds to the operation state that the client stops operating, and the storage time is a second preset time; and responding to the running state client not stopping running, wherein the storage time is a third preset time, and the second preset time is longer than the third preset time.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium including a stored program, where the program, when run, controls a device in which the computer-readable storage medium is located to execute the information processing method of any one of the above.
According to another aspect of the embodiment of the present invention, there is also provided a processor, where a program of the processor executes the information processing method of any one of the above.
According to another aspect of the embodiment of the present invention, there is also provided a target vehicle including: one or more processors; a storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are caused to perform the information processing method of any one of the above.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium including a stored program, wherein the computer-readable storage medium is controlled to execute the information processing method in the above embodiments when the program runs.
Example 4
According to another aspect of the embodiment of the present invention, there is also provided a processor, where a program of the processor executes the information processing method in the above embodiment.
Example 5
According to another aspect of the embodiment of the present invention, there is also provided a target vehicle including: one or more processors; a storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are caused to perform the information processing method in the above embodiment.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of units may be a logic function division, and there may be another division manner in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method of the various embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (10)

1. An information processing method, characterized by comprising:
responding to the stopping operation of a client, determining a first query instruction sent to a cloud server before the stopping operation of the client, wherein the first query instruction is used for querying a first execution result of the first instruction sent by the client, the first instruction is used for controlling a target vehicle to execute an operation corresponding to the first instruction, and the first execution result is stored by the cloud server;
determining a target time interval in response to the client re-running and sending a second instruction to the cloud server, wherein the target time interval is used for representing the time interval of the client sending the first query instruction and the second instruction, and the second instruction is used for controlling a target vehicle to execute the operation corresponding to the second instruction;
and based on a comparison result of the target time interval and a first preset time, determining to send the first query instruction or a second query instruction to the cloud server, wherein the second query instruction is used for querying a first execution result of the first instruction, and the query time of the second query instruction is smaller than that of the first query instruction.
2. The method of claim 1, wherein determining to send the first query instruction or the second query instruction to the cloud server based on the comparison of the target time interval and a first preset time comprises:
responding to the target time interval being smaller than or equal to a first preset time, sending the first query instruction to the cloud server, and receiving the first execution result returned by the cloud server, wherein the first preset time is used for representing the maximum waiting time from sending the first query instruction to receiving the first execution result of the client;
and responding to the target time interval being larger than the first preset time, sending the second query instruction to the cloud server, and receiving the first execution result returned by the cloud server.
3. The method of claim 2, wherein sending the second query instruction to the cloud server and receiving the first execution result returned by the cloud server in response to the target time interval being greater than the first preset time comprises:
comparing the target time interval with a second preset time, wherein the second preset time is longer than the first preset time;
responding to the target time interval being smaller than or equal to the second preset time, sending the second query instruction to the cloud server, and receiving the first execution result returned by the cloud server;
and in response to the target time interval being greater than the second preset time, not sending a second query instruction to the cloud server.
4. The method of claim 2, wherein in response to receiving the first execution result returned by the cloud server, the method further comprises:
and sending a clearing instruction to the cloud server, wherein the clearing instruction is used for controlling the cloud server to delete the first execution result.
5. The method of claim 1, wherein the client stores a first time of day at which the first query instruction is sent, wherein determining the target time interval comprises:
acquiring a second moment when the client sends the second instruction;
and obtaining the difference value between the second moment and the first moment to obtain the target time interval.
6. The method of claim 1, wherein in response to the client ceasing to operate, the method further comprises:
and sending the running state of the client to the cloud server, wherein the running state is used for representing whether the client stops running or not, and the running state is used for determining the storage time of the execution result in the cloud server.
7. The method of claim 6, wherein the storage time is a second preset time in response to the running state being that the client is not running; and responding to the running state that the client does not stop running, wherein the storage time is a third preset time, and the second preset time is longer than the third preset time.
8. An information processing apparatus, characterized by comprising:
the instruction determining module is used for determining a first query instruction sent to the cloud server before the client stops running in response to the client stopping running, wherein the first query instruction is used for querying a first execution result of the first instruction sent by the client, the first instruction is used for controlling a target vehicle to execute an operation corresponding to the first instruction, and the first execution result is stored by the cloud server;
the time determining module is used for responding to the client to rerun and sending a second instruction to the cloud server, and determining a target time interval, wherein the target time interval is used for representing the time interval of the client for sending the first query instruction and the second instruction, and the second instruction is used for controlling a target vehicle to execute the operation corresponding to the second instruction;
the instruction sending module is used for determining to send the first query instruction or the second query instruction to the cloud server based on the comparison result of the target time interval and the first preset time, wherein the second query instruction is used for querying the first execution result of the second instruction, and the query time of the second query instruction is smaller than that of the first query instruction.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium includes a stored program, wherein the program, when run, controls a device in which the computer-readable storage medium is located to execute the information processing method according to any one of claims 1 to 7.
10. A vehicle, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the information processing method of any one of claims 1-7.
CN202210764027.2A 2022-06-30 2022-06-30 Information processing method and device and vehicle Active CN115314530B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210764027.2A CN115314530B (en) 2022-06-30 2022-06-30 Information processing method and device and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210764027.2A CN115314530B (en) 2022-06-30 2022-06-30 Information processing method and device and vehicle

Publications (2)

Publication Number Publication Date
CN115314530A CN115314530A (en) 2022-11-08
CN115314530B true CN115314530B (en) 2024-01-05

Family

ID=83854354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210764027.2A Active CN115314530B (en) 2022-06-30 2022-06-30 Information processing method and device and vehicle

Country Status (1)

Country Link
CN (1) CN115314530B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6804662B1 (en) * 2000-10-27 2004-10-12 Plumtree Software, Inc. Method and apparatus for query and analysis
CN105610819A (en) * 2015-12-25 2016-05-25 北京奇虎科技有限公司 Method and apparatus for providing service for inquiring server information
CN105897874A (en) * 2016-04-01 2016-08-24 南京邮电大学 Peripheral data real-time querying method based on cloud calculation technology
CN109461079A (en) * 2018-10-29 2019-03-12 众安信息技术服务有限公司 Transaction processing method and device based on block chain
CN110489444A (en) * 2019-08-22 2019-11-22 深圳前海环融联易信息科技服务有限公司 A kind of asynchronous query method, apparatus, computer equipment and storage medium
CN112612816A (en) * 2020-12-01 2021-04-06 网易(杭州)网络有限公司 Service result query method, device, equipment and medium for Ether house alliance chain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6804662B1 (en) * 2000-10-27 2004-10-12 Plumtree Software, Inc. Method and apparatus for query and analysis
CN105610819A (en) * 2015-12-25 2016-05-25 北京奇虎科技有限公司 Method and apparatus for providing service for inquiring server information
CN105897874A (en) * 2016-04-01 2016-08-24 南京邮电大学 Peripheral data real-time querying method based on cloud calculation technology
CN109461079A (en) * 2018-10-29 2019-03-12 众安信息技术服务有限公司 Transaction processing method and device based on block chain
CN110489444A (en) * 2019-08-22 2019-11-22 深圳前海环融联易信息科技服务有限公司 A kind of asynchronous query method, apparatus, computer equipment and storage medium
CN112612816A (en) * 2020-12-01 2021-04-06 网易(杭州)网络有限公司 Service result query method, device, equipment and medium for Ether house alliance chain

Also Published As

Publication number Publication date
CN115314530A (en) 2022-11-08

Similar Documents

Publication Publication Date Title
CN109048996B (en) Robot abnormal state processing method and device
CN112367345B (en) Data processing method, server device and computer readable storage medium
CN113746900B (en) Intranet data transmission method, electronic device and computer readable storage medium
CN106993043B (en) Data communication system and method based on agency
CN107483297B (en) Active monitoring system and method for quality of service carried on embedded equipment
CN111541606B (en) Gateway processing method, gateway device and gateway system
CN113672451B (en) BMC service detection method, device, equipment and readable storage medium
CN112039718A (en) Upgrade state detection method, server, device and storage medium
CN107508916B (en) Server link management method for intelligent robot
CN115314530B (en) Information processing method and device and vehicle
CN105959174B (en) Testing method and device for intelligent equipment platform
CN103841193A (en) Information pushing method and system
CN111897768B (en) Configuration method and device of object access policy
CN112559124A (en) Model management system and target operation instruction processing method and device
CN114466321B (en) Message sending method and device, electronic equipment and storage medium
CN111224768B (en) Response simulation method, device, equipment and computer readable storage medium
CN113792950A (en) Task distribution method and device, computer readable storage medium and electronic equipment
CN110365627B (en) Application program synchronization method and device, computing equipment and storage medium
CN112214437A (en) Storage device, communication method and device and computer readable storage medium
CN111858100A (en) BMC message transmission method and related device
CN115314531A (en) Information processing method and device and vehicle
US11178256B2 (en) Business service providing system, business service recovery method, and business service recovery program
CN113722181B (en) BMC process monitoring method, device, system and medium of server
CN116149699A (en) Upgrade state monitoring method, device, system and medium
CN116545941B (en) Instruction sending method, system, intelligent terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant