CN115314530A - Information processing method and device and vehicle - Google Patents
Information processing method and device and vehicle Download PDFInfo
- Publication number
- CN115314530A CN115314530A CN202210764027.2A CN202210764027A CN115314530A CN 115314530 A CN115314530 A CN 115314530A CN 202210764027 A CN202210764027 A CN 202210764027A CN 115314530 A CN115314530 A CN 115314530A
- Authority
- CN
- China
- Prior art keywords
- instruction
- cloud server
- client
- execution result
- time interval
- 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.)
- Granted
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 37
- 238000003672 processing method Methods 0.000 title claims abstract description 22
- 238000000034 method Methods 0.000 claims abstract description 31
- 230000004044 response Effects 0.000 claims description 21
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000002996 emotional effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User 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/72415—User 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 stop of the client, and determining a first query instruction sent to the cloud server before the stop of the client; responding to the re-operation of the client and sending a second instruction to the cloud server, and determining a target time interval; and determining to send the first query instruction or the second query instruction to the cloud server based on the target time interval. The invention solves the technical problems that the client is closed when inquiring the instruction result and fails to inquire the result after being opened again in the prior art.
Description
Technical Field
The invention relates to the field of intelligent communication, in particular to an information processing method, an information processing device and a vehicle.
Background
Currently, most users control devices on a vehicle through a mobile phone, for example, an air conditioner switch, a vehicle door switch, and the like on the vehicle are controlled by using a mobile phone client, and a control result is obtained through the mobile phone client. However, when the client is closed in the process of running the query instruction, the problem that the user cannot obtain the control result when repeatedly clicking the query after the client is opened again may be caused.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides an information processing method, an information processing device and a vehicle, which are used for at least solving the technical problems that in the related technology, a client is closed when inquiring instruction results, and results are failed to inquire after the client is re-opened.
According to an aspect of an embodiment of the present invention, there is provided an information processing method including: responding to the stop of the client, and determining a first query instruction sent to the cloud server before the stop 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; responding to the re-operation 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 sending the first query instruction and the second instruction by the client, 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 first preset time, sending a first query instruction to a 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 client side to the time when the client side sends the first query instruction to the time when the client side receives the first execution result; and 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, in response to that the target time interval is 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, where the sending includes: comparing the target time interval with a second preset time, wherein the second preset time is greater than the first preset time; responding to the fact that the target time interval is smaller than or equal to second preset time, sending a second query instruction to the cloud server, and receiving a first execution result returned by the cloud server; and responding to the target time interval being larger than the second preset time, and 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 instant for sending the first query instruction, wherein determining the target time interval includes: acquiring a second moment when the client sends a second instruction; and acquiring 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 operation state that the client stops operating, the storage time is a second preset time; and responding to the fact that the client does not stop running in the running state, wherein the storage time is third preset time, and the second preset time is larger than the third preset time.
According to another aspect of the embodiments of the present invention, there is also provided an information processing apparatus including: the instruction determining module is used for responding to the stop of the client and determining a first query instruction sent to the cloud server before the stop 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; the time determining module is used for responding to the re-operation 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 sending the first query instruction and the second instruction by the client, 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 condition that the target time interval is smaller than or equal to 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 by the client; and the second instruction sending unit is used for responding to the condition that the target time interval is 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, the second instruction sending unit includes: the time comparison subunit is used for comparing the target time interval with a second preset time, wherein the second preset time is greater than the first preset time; the instruction sending subunit is used for responding to the target time interval being less than or equal to second preset time, sending a second query instruction to the cloud server, and receiving a first execution result returned by the cloud server; and responding to the target time interval being larger than the second preset time, and not sending a second query instruction to the cloud server.
Optionally, the instruction sending module further includes: and 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 comprises: the time obtaining unit is used for obtaining a second time when the client sends the second instruction; and the time determining unit is used for acquiring the difference value between the second moment and the first moment to obtain the 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 running state that the client stops running, and the storage time is second preset time; and responding to the fact that the client does not stop running in the running state, wherein the storage time is third preset time, and the second preset time is larger 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, wherein when the program runs, the apparatus on which the computer-readable storage medium is located is controlled to execute any one of the information processing methods described above.
According to another aspect of the embodiments of the present invention, there is also provided a processor, wherein a program of the processor executes the information processing method according to any one of the above.
According to another aspect of the embodiments of the present invention, there is also provided a target vehicle including: one or more processors; 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 execute the information processing method of any one of the above.
In the embodiment of the invention, a first query instruction which is sent to a cloud server before the client stops running is determined in response to the client stopping running; responding to the re-operation of the client and sending a second instruction to the cloud server, and determining a target time interval; the method comprises the steps of determining a mode of sending a first query instruction or a second query instruction to a cloud server based on a target time interval, and determining a specific query instruction which should be sent after the client is reopened according to the running state of the client and the target time interval from sending the first query instruction to resending the second instruction, so that the problem that the client cannot obtain an execution result due to the fact that the execution result stored in the cloud server is deleted when the target time is too long is avoided, and the technical problems that the client is closed when the query instruction result is obtained and the result query fails after the client is reopened in the related art are 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 embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram illustrating a client information handling system in accordance with an embodiment of the present invention;
FIG. 2 is a flow chart illustrating an information processing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating an information storage and query method according to an embodiment of the invention;
fig. 4 is a block diagram showing a configuration of an information processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or 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 a transmission link and a feedback link of a control instruction are long, generally, after the control instruction is issued through a mobile phone client, a long response time is often needed to obtain a control result, which results in that a user may actively close the client due to an excessively long waiting time and then reopen and repeatedly click the control instruction to control a vehicle device, but the client cannot determine a specific control instruction clicked by the user last time, and when the user repeatedly clicks the control instruction, the client may repeatedly report an error, for example, "an instruction is in progress", "the instruction is wrong", and the like, so that the use experience of the user is affected.
Example 1
Where an embodiment of a method of information processing is provided according to the present invention, it is noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a schematic diagram illustrating a client information processing system according to an embodiment of the present invention, and as shown in fig. 1, the system may be divided into three parts: the system comprises a client, a cloud server and a target vehicle.
Generally, a user can send a control instruction to the cloud server by clicking a control button on the 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 controllers, one of which is a T-BOX (information processing device) and a domain controller corresponding to each device on the vehicle.
The T-BOX can send the control quality to the corresponding domain controller after receiving the control instruction issued by the cloud server, so as to control the corresponding equipment to operate, 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, after sending the control instruction to the cloud server, the client can also send an inquiry instruction to the cloud server for inquiring the execution result of the control instruction, and if the client successfully receives the control result within the preset time, 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 be executed.
Fig. 2 is a flowchart illustrating an information processing method according to an embodiment of the present invention, which includes the steps of, as shown in fig. 2:
step S202, responding to the stop of the client, and determining a first query instruction sent to the cloud server before the stop of the client.
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 client can refer to application programs on intelligent equipment such as a mobile phone or a computer, for example, various vehicle control applications; the first instruction may refer to an instruction for controlling vehicle equipment, which is sent to the target vehicle by the user through the vehicle control application, such as controlling to open and close a vehicle 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 an execution result, and is generally queried in a polling manner.
Generally, as shown in the foregoing information processing system, when receiving a first instruction, the cloud server may store an execution result corresponding to the first instruction for a period of time, so as to avoid a problem that the client reports an error when re-querying the execution result because the client is closed in the process of querying the execution result.
Optionally, in response to the client stopping, 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 of this embodiment, in order to avoid that the execution result stored in the cloud server is deleted due to an excessively long time for closing the client, the client may further send the running state of the client to the cloud server when the client stops running, so as to notify the cloud server to execute a corresponding preset operation, for example, may notify the cloud server to determine a storage time for storing the execution result.
Optionally, in response to the operation state that the client stops operating, the storage time is a second preset time; and responding to the fact that the client does not stop running in the running state, wherein the storage time is third preset time, and the second preset time is longer than the third preset time.
The third preset time may be time for the cloud server to store the execution result when the client normally operates, and is represented by T1; the second preset time may be a time when the client stops operating and the cloud server stores the execution result, which is denoted by T2. Generally, T2 is greater than T1, the specific time length may be determined according to an actual situation, and when the client is closed in the process of querying the execution result, the time for originally storing the execution result in the cloud server may be extended from T1 to T2.
By closing the client in the process of inquiring the result, the time for storing the execution result in the cloud server is prolonged, and the problems 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 inquiry operation can be avoided.
Step S204, responding to the re-operation of the client and sending a second instruction to the cloud server, and determining the target time interval.
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 instruction is the same as the first instruction except for the sending time. Generally, after the user reopens the client, the user often clicks the previous execution operation again, that is, the second instruction, to re-control the vehicle device on the target vehicle and obtain the corresponding execution result, so that in order to avoid that the execution result stored in the cloud server has disappeared due to the overlong time of sending the two instructions, the user repeatedly sends the second instruction without obtaining the execution result, so that the experience of the user is poor, the target time interval between sending the instructions by the client is obtained, and then the corresponding preset operation is executed according to the time interval, so that the user is prevented from generating a large emotional fluctuation due to the fact that the execution result is not obtained continuously. The specific preset operation is described below.
Optionally, the client stores a first time for sending the first query instruction, wherein determining the target time interval includes: acquiring a second moment when the client sends a second instruction; and acquiring a difference value between the second moment and the first moment to obtain a target time interval.
The target time interval may be determined according to the time when the client sends the first instruction and the second instruction, and the method may be determined according to an actual situation, without specific limitations.
Step S206, determining to send the first query instruction or the second query instruction to the cloud server based on the target time interval.
The second query instruction is used for querying a first execution result of the first instruction.
The second query instruction and the first query instruction, except the execution time, are used to query the execution result of the first instruction, but the execution times of the two are different, for example, the query time of the first query instruction may be 1min, while the query time of the second query instruction is often less than the query time of the first query instruction, which may be 30s, and the specific query time may be determined according to the storage time of the current execution result stored in 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 to obtain the execution result of the first instruction.
In the embodiment of the invention, a first query instruction which is sent to a cloud server before the client stops running is determined in response to the client stopping running; responding to the condition that the client side operates again and sending a second instruction to the cloud server, and determining a target time interval; the method comprises the steps of determining a mode of sending a first query instruction or a second query instruction to a cloud server based on a target time interval, and determining a specific query instruction which should be sent after the client is reopened according to the running state of the client and the target time interval from sending the first query instruction to resending the second instruction, so that the problem that the client cannot obtain an execution result due to the fact that the execution result stored in the cloud server is deleted when the target time is too long is avoided, and the technical problems that the client is closed when the query instruction result is obtained and the result query fails after the client is reopened in the related art are 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 target time interval being 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 by the client; and 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.
The first preset time may refer to a maximum response time of the first query instruction, that is, a maximum waiting time from the sending of the first query instruction to the receiving of 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 normally operates, and the cloud server stores the execution result, that is, the first preset time is generally less than or equal to T1. The specific method for 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 of determining the transmitted query instruction according to the target time interval may be as follows: the method comprises the steps that firstly, the size of a target time interval and 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 query instruction once to obtain a first execution result based on the first query instruction sent before closing; if the target time interval is greater than the first preset time, the client may 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 the 10 th time after sending the first query instruction, and then the client is turned on again and sends the second instruction after 5s, the target time interval is 15s at this time, and is smaller than the first preset time, and it may be determined that the client sends the first query instruction at this time.
In an alternative of this embodiment, in addition to sending the first query command according to the original response time 50s, after 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-15s =30s.
If the client is turned off at the 10 th time after sending the first query instruction and then turned on again after 50 seconds, the target time interval is greater than the first preset time, and it can be determined that the client sends the second query instruction.
Optionally, in response to that the target time interval is 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, where the sending includes: comparing the target time interval with a second preset time, wherein the second preset time is greater than the first preset time; responding to the target time interval smaller than or equal to second preset time, sending a second query instruction to the cloud server, and receiving a first execution result returned by the cloud server; and responding to the target time interval being larger than the second preset time, and 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 of this embodiment, whether to send the second query instruction may be further determined according to a second preset time, which is extended by the cloud server, for storing the execution result.
Under the condition that the target time interval is greater than the first preset time, if the target time interval is less than the second preset time, the client side can send a second query instruction to obtain the execution result; if the target time interval is greater than the second preset time, the client does not send the second query instruction any more, so that the problem that even if the cloud server prolongs the storage time of the execution result, the execution result stored in the cloud server is still deleted due to the fact that the target time interval is too long, and a user cannot acquire a specific execution result is avoided.
In an alternative of this embodiment, if the target time interval is greater than the second preset time, the client may notify the user of a prompt message such as "instruction 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 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 in view of the security of the system, that is, after the client receives the execution result, the client may further send a clear instruction to the cloud server, and the cloud server deletes the execution result based on the clear instruction.
In order to clearly represent the information processing method, fig. 3 is a schematic diagram illustrating an information storage and query method according to an embodiment of the present invention, and as shown in fig. 3, on the basis of the information processing system, the information processing method can be divided into two parts: one part is an operation instruction executed by the client side, and the other part is an operation instruction executed by the cloud server.
On the client side, the client side can send the running state, the control instruction and the query instruction to the cloud server in real time, if the client side is closed when the execution result of the control instruction is queried, the target interval time between two instructions can be determined when the corresponding control instruction is sent for the second time after the control instruction is rerun, and then the type of the query instruction to be resent is determined based on the target interval time.
If the target time interval is smaller than the first preset time, sending a first query instruction on the basis of the query instruction sent before the client is closed; if the target time interval is greater than the first preset time and is less than the second preset time, sending a second query instruction; if the target time interval is greater than the second preset time, the query instruction is not sent any more, at this time, the user can be informed that the instruction is sent, and the user can check the execution result by himself.
At the cloud server side, the cloud server can receive the control instruction and the query instruction sent by the client in real time and the running state of the client, when the client is closed when sending the query instruction, the cloud server can actively prolong the time of storing the control instruction corresponding to the execution result, and when receiving the query instruction sent by the client again, the cloud server can return the execution result to the client.
Example 2
According to another aspect of the embodiments of the present invention, corresponding to the above-mentioned embodiments of fault diagnosis of the charging device, the present specification further provides an information processing apparatus, please refer to fig. 4, where fig. 4 is a block diagram illustrating a structure of an information processing apparatus according to an embodiment of the present invention, the apparatus including: the instruction determining module 402, in response to the stopping of the client, determines a first query instruction sent to the cloud server before the stopping of the client, where the first query instruction is used to query a first execution result of the first instruction sent by the client, the first instruction is used to control 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 represent a time interval when 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 the first query instruction or the 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 condition that the target time interval is smaller than or equal to 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 by the client; and the second instruction sending unit is used for responding to the condition that the target time interval is 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, the second instruction sending unit includes: the time comparison subunit is used for comparing the target time interval with a second preset time, wherein the second preset time is greater than the first preset time; the instruction sending subunit is used for sending a second query instruction to the cloud server in response to the target time interval being less than or equal to second preset time, and receiving a first execution result returned by the cloud server; and responding to the target time interval being larger than the second preset time, and not sending a second query instruction to the cloud server.
Optionally, the instruction sending module 406 further includes: and 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 obtaining unit is used for obtaining a second time when the client sends the second instruction; and the time determining unit is used for acquiring the difference value between the second moment and the first moment to obtain the 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 running state that the client stops running, and the storage time is second preset time; and responding to the fact that the client does not stop running in the running state, wherein the storage time is third preset time, and the second preset time is larger 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, wherein when the program runs, the apparatus on which the computer-readable storage medium is located is controlled to execute any one of the information processing methods described above.
According to another aspect of the embodiments of the present invention, there is also provided a processor, wherein a program of the processor executes the information processing method according to any one of the above.
According to another aspect of the embodiments of the present invention, there is also provided a target vehicle including: one or more processors; 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 execute 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, where when the program runs, an apparatus in which the computer-readable storage medium is located is controlled to execute the information processing method in the foregoing embodiments.
Example 4
According to another aspect of the embodiments of the present invention, a processor is further provided, where a program of the processor executes the information processing method in the foregoing embodiments.
Example 5
According to another aspect of the embodiments of the present invention, there is also provided a target vehicle including: one or more processors; 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 execute the information processing method in the above-described embodiment.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described in detail in a certain embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed technical content can be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit may be a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or may not be executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be an indirect coupling or communication connection through some interfaces, units or modules, and may be electrical or in 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 on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.
Claims (10)
1. An information processing method characterized by comprising:
responding to the stop of a client, and determining a first query instruction sent to a cloud server before the stop 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;
responding to the re-operation 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 sending the first query instruction and the second instruction by the client, and the second instruction is used for controlling a target vehicle to execute an operation corresponding to the second instruction;
and determining to send the 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.
2. The method of claim 1, wherein determining to send the first query or the second query to the cloud server based on the target time interval comprises:
responding to that the target time interval is 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 of the client from sending the first query instruction to receiving the first execution result;
and responding to the fact that the target time interval is 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 in response to the target time interval being greater 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 comprises:
comparing the target time interval with a second preset time, wherein the second preset time is greater 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 responding to the condition that the target time interval is larger than the second preset time, and 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:
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 at which the first query instruction is sent, and wherein determining a target time interval comprises:
acquiring a second moment when the client sends the second instruction;
and acquiring a 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 a 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 in response to the running status being that the client stops running, the storage time is a second preset time; responding to the running state that the client does not stop running, wherein the storage time is third preset time, and the second preset time is greater than the third preset time.
8. An information processing apparatus characterized by comprising:
the instruction determining module is used for responding to the stop of a client and determining a first query instruction sent to a cloud server before the stop 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;
the time determination module is used for responding to the re-operation 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 for sending the first query instruction and the second instruction, and the second instruction is used for controlling a target vehicle to execute an operation corresponding to the second instruction;
and the instruction sending module is used for determining to send the 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.
9. A computer-readable storage medium, comprising a stored program, wherein when the program runs, the computer-readable storage medium controls an apparatus 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 to 7.
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 true CN115314530A (en) | 2022-11-08 |
CN115314530B 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)
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 |
-
2022
- 2022-06-30 CN CN202210764027.2A patent/CN115314530B/en active Active
Patent Citations (6)
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 |
---|---|
CN115314530B (en) | 2024-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108766422B (en) | Voice equipment response method and device, storage medium and computer equipment | |
CN111818132B (en) | Control method and device of Internet of things equipment, computer equipment and storage medium | |
CN109582335B (en) | Method, device and equipment for on-line upgrading of non-interrupt storage cluster nodes | |
CN106993043B (en) | Data communication system and method based on agency | |
CN110401662A (en) | A kind of industrial control equipment fingerprint identification method, storage medium | |
CN113672451B (en) | BMC service detection method, device, equipment and readable storage medium | |
CN108540356B (en) | Processing method and processing apparatus | |
CN112367345A (en) | Data processing method, server device and computer readable storage medium | |
CN108134713A (en) | A kind of communication means and device | |
CN111897768B (en) | Configuration method and device of object access policy | |
CN114253147A (en) | Intelligent device control method and device, electronic device and storage medium | |
CN112039718A (en) | Upgrade state detection method, server, device and storage medium | |
CN106254505B (en) | System and method for monitoring file uploading progress of FTP server side | |
CN105959174B (en) | Testing method and device for intelligent equipment platform | |
US20040128114A1 (en) | Supervisory control system, supervisory control method, control program for controlled device | |
CN115314530A (en) | Information processing method and device and vehicle | |
CN117459286A (en) | SD-WAN-based data communication security early warning method and device | |
CN113596235B (en) | Operation instruction issuing method and device, storage medium and electronic device | |
CN110750327A (en) | Virtual network function management method and system, agent device, and storage medium | |
CN208061315U (en) | A kind of automatic vending machine and system | |
CN115442228A (en) | Business logic processing method, device, electronic device, storage medium and system | |
JP2012181663A (en) | Method for determining read/unread state, transmitting and receiving device, and program | |
CN115314531A (en) | Information processing method and device and vehicle | |
CN114253143A (en) | Load device control method, device and system, electronic device and storage medium | |
CN111858100A (en) | BMC message transmission method and related device |
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 |