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

Information processing method and device and vehicle Download PDF

Info

Publication number
CN115314531B
CN115314531B CN202210778365.1A CN202210778365A CN115314531B CN 115314531 B CN115314531 B CN 115314531B CN 202210778365 A CN202210778365 A CN 202210778365A CN 115314531 B CN115314531 B CN 115314531B
Authority
CN
China
Prior art keywords
instruction
time
client
preset
target
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
CN202210778365.1A
Other languages
Chinese (zh)
Other versions
CN115314531A (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 CN202210778365.1A priority Critical patent/CN115314531B/en
Publication of CN115314531A publication Critical patent/CN115314531A/en
Application granted granted Critical
Publication of CN115314531B publication Critical patent/CN115314531B/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)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses an information processing method, an information processing device and a vehicle. Wherein the method comprises the following steps: the method comprises the steps of sending a target instruction to a cloud server, wherein the target instruction is used for controlling a target vehicle to execute an operation corresponding to the target instruction, the target instruction is sent to the target vehicle by the cloud server, execution information returned by the target vehicle is stored by the cloud server, and the execution information is used for representing an execution result after the target vehicle executes the operation corresponding to the target instruction; and responding to the client entering the background operation, and sending the operation state of the client to the cloud server, wherein the operation state is used for representing whether the client enters the background operation. The invention solves the technical problem that a user cannot acquire the vehicle control result in time when the client runs in the background in the related art.

Description

Information processing method and device and vehicle
Technical Field
The invention relates to the field of intelligent automobiles, in particular to an information processing method, an information processing device and a vehicle.
Background
When a user uses a mobile phone APP (Application) to issue a remote control command to a vehicle, because the link of the command is long, the user needs to wait for an execution result for a certain time, and if the user has access to a phone or actively switches other mobile phone applications to view information during waiting, the mobile phone APP may be interrupted, so that the mobile phone APP enters a background running state. If no technical processing is performed, the command executed by the mobile phone APP is suspended, and even if the background service of the mobile phone is added, the operation of the mobile phone APP can be stopped due to insufficient background resources of the mobile phone. In this case, after the mobile APP runs in the background for a period of time, the unfinished instruction may report errors before returning to the foreground to continue. During this time, if the vehicle has completed the action, the user cannot receive the execution result, and a secondary unnecessary operation 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 a user cannot acquire a vehicle control result in time when a client runs in the background in the related art.
According to an aspect of an embodiment of the present invention, there is provided an information processing method including: the method comprises the steps of sending a target instruction to a cloud server, wherein the target instruction is used for controlling a target vehicle to execute an operation corresponding to the target instruction, the target instruction is sent to the target vehicle by the cloud server, execution information returned by the target vehicle is stored by the cloud server, and the execution information is used for representing an execution result after the target vehicle executes the operation corresponding to the target instruction; and responding to the background running of the client, and sending the running state of the client to the cloud server, wherein the running state is used for representing whether the client enters the background running, the storage time of the execution information in the cloud server is a first preset time in response to the running state being that the client enters the background running and the instruction type of the target instruction is a preset type, and the storage time of the execution information in the cloud server is a second preset time in response to the running state being that the client does not enter the background running or the instruction type is not the preset type, wherein the first preset time is greater than the second preset time.
Optionally, the method further comprises: responding to the return of the client to the foreground operation, and sending a query instruction to the cloud server, wherein the query instruction is used for acquiring execution information stored in the cloud server, and the storage time is determined by the operation state and the instruction type.
Optionally, in response to the client returning to the foreground operation, sending a query instruction to the cloud server, including: obtaining background operation time of a client entering background operation, wherein the background operation time is determined by a first moment of the client entering the background operation and a second moment of returning to the foreground operation; and responding to the background running time being smaller than or equal to the preset waiting time, and sending a query instruction to the cloud server, wherein the response time of the query instruction is the preset running time, and the preset waiting time is determined based on the second preset time.
Optionally, in response to the background runtime being greater than the preset wait time, the method further comprises: judging whether the instruction type of the target instruction is a preset type or not; responding to the instruction type being a preset type, and sending a query instruction to a cloud server; and stopping sending the query instruction in response to the instruction type not being the preset type.
Optionally, the preset type is turning on or off a target device on the target vehicle.
Optionally, after sending the query instruction to the cloud server, the method further includes: acquiring the sending time of sending the query instruction; and stopping sending the query instruction in response to the sending time reaching the preset sending time.
Optionally, acquiring a target instruction sent by the client and an operation state of the client, wherein the target instruction is used for controlling the target vehicle to execute an operation corresponding to the target instruction, and the operation state is used for representing whether the client enters a background operation; the method comprises the steps of sending a target instruction to a target vehicle and receiving execution information returned by the target vehicle, wherein the execution information is used for representing an execution result after the target vehicle executes an operation corresponding to the target instruction; responding to the running state that the client enters the background running state and the instruction type of the target instruction is a preset type, and determining the storage time of the execution information as a first preset time; and determining that the storage time of the execution information is a second preset time in response to the running state that the client does not enter the background running or the instruction type is not the preset type, wherein the first preset time is longer than the second preset time.
According to another aspect of the embodiment of the present invention, there is also provided an information processing apparatus including: the system comprises an instruction sending module, a cloud server and a target vehicle, wherein the instruction sending module is used for sending a target instruction to the cloud server, the target instruction is used for controlling the target vehicle to execute the operation corresponding to the target instruction, the target instruction is sent to the target vehicle by the cloud server, the execution information returned by the target vehicle is stored by the cloud server, and the execution information is used for representing the execution result after the target vehicle executes the operation corresponding to the target instruction; the state sending module is used for responding to the background running of the client and sending the running state of the client to the cloud server, wherein the running state is used for representing whether the client enters the background running or not, the storage time of the execution information in the cloud server is a first preset time in response to the running state being the background running of the client and the instruction type of the target instruction being the preset type, the storage time of the execution information in the cloud server is a second preset time in response to the running state being the background running of the client or the instruction type not being the preset type, and the first preset time is larger than the second preset time.
Optionally, the apparatus further comprises: the system comprises a state acquisition module, a state judgment module and a state judgment module, wherein the state acquisition module is used for acquiring a target instruction sent by a client and an operation state of the client, wherein the target instruction is used for controlling a target vehicle to execute an operation corresponding to the target instruction, and the operation state is used for representing whether the client enters a background operation; the information receiving module is used for sending a target instruction to the target vehicle and receiving execution information returned by the target vehicle, wherein the execution information is used for representing an execution result after the target vehicle executes an operation corresponding to the target instruction; the first time determining module is used for determining that the storage time of the execution information is a first preset time in response to the running state that the client enters the background to run and the instruction type of the target instruction is a preset type; the second time determining module is used for determining that the storage time of the execution information is second preset time in response to the running state that the client does not enter the background running or the instruction type is not the preset type, wherein the first preset time is larger than the second preset time.
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 one or more programs are executed by one or more processors, the one or more processors are caused to perform the information processing method of any of the above embodiments.
According to an aspect of the embodiments of the present invention, there is provided a computer-readable storage medium including a stored program, wherein the apparatus in which the computer-readable storage medium is controlled to execute the information processing method of any one of the above embodiments when the program is run.
According to an aspect of the embodiments of the present invention, there is provided a processor for executing a program, wherein the program executes the information processing method of any one of the above embodiments.
In the embodiment of the invention, a client sends a target instruction to a cloud server, then the target instruction is sent to a target vehicle through the cloud server, after the target vehicle executes a response operation, execution information is returned to the cloud server for storage, the execution information comprises an execution result after the target vehicle executes an operation corresponding to the target instruction, when the client enters a background operation, the operation state of the client is the background operation, the client sends the operation state to the cloud server, if the operation state is the background operation and the target instruction is a preset type, the storage time of the execution information is a first preset time, and if the operation state is a non-background operation or the target instruction is not the preset type, the storage time of the execution information is a second preset time. It is easy to notice that, this scheme receives and dispatches target instruction and stores the execution information through this medium of high in the clouds server, guarantee still can acquire the execution result of storage after the customer end gets into the backstage to this scheme judges whether to need to prolong preset information to different target instruction types, and distinguish, set up the memory time at the high in the clouds server, realized that the customer end also can correctly feed back the technological effect of vehicle execution result when the backstage operation, and then solved the technical problem that the user can not in time acquire vehicle control result and unusual report wrong in the correlation technique.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a flowchart of an information processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of an alternative information transmission according to an embodiment of the invention;
FIG. 3 is a flow chart of an alternative query execution result according to an embodiment of the present invention;
Fig. 4 is a schematic diagram of an information processing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an alternative cloud device 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.
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 different from that herein.
Fig. 1 is a flowchart of an information processing method according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
Step S102, a target instruction is sent to a cloud server, wherein the target instruction is used for controlling a target vehicle to execute an operation corresponding to the target instruction, the target instruction is sent to the target vehicle by the cloud server, execution information returned by the target vehicle is stored by the cloud server, and the execution information is used for representing an execution result after the target vehicle executes the operation corresponding to the target instruction;
Step S104, the running state of the client is sent to the cloud server in response to the client entering the background running, wherein the running state is used for representing whether the client enters the background running, the storage time of the execution information in the cloud server is a first preset time in response to the running state being that the client enters the background running and the instruction type of the target instruction is a preset type, and the storage time of the execution information in the cloud server is a second preset time in response to the running state being that the client does not enter the background running or the instruction type is not the preset type, and the first preset time is larger than the second preset time.
The target instruction may be a control instruction issued when the user controls the vehicle using the client. The cloud server can be a lightweight communication and informatization management marketing platform and can store remote control instructions issued by the client according to user requirements. The client may be a mobile phone APP (Application) client, and normal communication connection is established between the client and the cloud server, so as to ensure normal running of the Application program. The preset type may be a target instruction type that needs to feed back an execution result to a user, and needs to prolong a storage time of the execution information in the cloud server, for example, opening/closing operations of a door lock, a window, a skylight, an air conditioner, and the like. The first preset time may be an extended storage time of the execution information in the cloud server when the client enters the background operation and the target instruction is of a preset type, and the second preset time may be a normal storage time of the execution information in the cloud server when the client does not enter the background operation or the target instruction is not of a preset type. The first preset time is an extended period of time over the normal storage time, and is thus greater than the second preset time.
In an alternative embodiment, fig. 2 is a flowchart of an alternative information transmission according to an embodiment of the present invention, and as shown in fig. 2, a user may send an open/close door lock, open/close window, open/close sunroof, open/close air conditioner, remote seeking vehicle, air conditioner attemperation operation when remotely controlling a vehicle using a mobile phone APP. As shown by arrow 1, after the process selects a required function for the user, the mobile phone client sends a target instruction corresponding to the function to the cloud server. As indicated by arrow 2, the process is to send a target instruction to a TBOX (Telematics-BOX) through a cloud server. As shown by arrow 3, the process is that the TBOX issues the target instruction of the cloud server to other controllers in the vehicle of the target vehicle, and the target vehicle executes the function according to the target instruction, so as to realize the function of remotely controlling the vehicle at one time. The process sends the execution results to the BOX for other controllers in the vehicle as indicated by arrow 4. As indicated by arrow 5, the BOX sends the execution result to the cloud server, and the cloud server stores the result in a memory of the cloud server as execution information. When the mobile phone APP enters the background operation, the client side sends the background operation as operation state information to the cloud server. The preset type may be an operation of opening/closing a door lock, a window, a sunroof, an air conditioner, or the like. If the mobile phone APP enters the background service and the target instruction is of a preset type, the execution result needs to be fed back to the user, the storage time of the execution information needs to be prolonged to be a first preset time T1, if the mobile phone APP enters the background service and the target instruction is not of a preset type, the execution result does not need to be fed back to the user, the storage time of the execution information is a second preset time T2, and the first preset time is prolonged for a period of time on the normal storage time, so that the storage time is longer than the second preset time.
In the embodiment of the invention, a client sends a target instruction to a cloud server, then the target instruction is sent to a target vehicle through the cloud server, after the target vehicle executes a response operation, execution information is returned to the cloud server for storage, the execution information comprises an execution result after the target vehicle executes an operation corresponding to the target instruction, when the client enters a background operation, the operation state of the client is the background operation, the client sends the operation state to the cloud server, if the operation state is the background operation and the target instruction is a preset type, the storage time of the execution information is a first preset time, and if the operation state is a non-background operation or the target instruction is not the preset type, the storage time of the execution information is a second preset time. It is easy to notice that, this scheme receives and dispatches target instruction and stores the execution information through this medium of high in the clouds server, guarantee still can acquire the execution result of storage after the customer end gets into the backstage to this scheme judges whether to need to prolong preset information to different target instruction types, and distinguish, set up the memory time at the high in the clouds server, realized that the customer end also can correctly feed back the technological effect of vehicle execution result when the backstage operation, and then solved the technical problem that the user can not in time acquire vehicle control result and unusual report wrong in the correlation technique.
Optionally, according to an embodiment of the above invention, the method further includes: responding to the return of the client to the foreground operation, and sending a query instruction to the cloud server, wherein the query instruction is used for acquiring execution information stored in the cloud server, and the storage time is determined by the operation state and the instruction type.
The foreground operation refers to a mode that the client operates on a mobile phone screen.
In an alternative embodiment, as indicated by arrow 6 in fig. 2, after the client returns to the foreground operation, the client issues a query instruction to the cloud server, for querying execution information stored in a memory of the cloud server, where the execution result may be "success-! "OR" failure-! And displaying the result on a client side of a mobile phone screen, and prompting information for a user. Note that, the prompting modes include, but are not limited to, subtitle prompting, voice prompting, and color prompting. The cloud server determines the storage time of the control result through the running state and the instruction type, if the target instruction is an operation of opening/closing a door lock, a window, a skylight, an air conditioner and the like, the execution result needs to be fed back to a user, the storage time is a first preset time T1, and if the target instruction is an operation of remote car searching, air conditioner temperature adjustment and the like, the execution result does not need to be fed back to the user, the storage time is a second preset time T2.
Optionally, according to the embodiment of the present invention, in response to the client returning to the foreground running, sending a query instruction to the cloud server, including: obtaining background operation time of a client entering background operation, wherein the background operation time is determined by a first moment of the client entering the background operation and a second moment of returning to the foreground operation; and responding to the background running time being smaller than or equal to the preset waiting time, and sending a query instruction to the cloud server, wherein the response time of the query instruction is the preset running time, and the preset waiting time is determined based on the second preset time.
The preset waiting time may be a normal storage time of the execution information by the cloud server, and whether to stop the query operation is judged at the time point.
In an alternative embodiment, fig. 3 is a flowchart of an alternative query execution result according to an embodiment of the present invention, where, as shown in fig. 3, a query result is started after a command of a client is issued successfully, when the client enters a background operation, a query start time is recorded as a first time Ts, an operation command is recorded, when the client returns to the foreground, the time is recorded as a second time Te, and a duration of the background operation is between the first time and the second time Te-Ts. Setting the preset waiting time as a second preset time T2, and when the background running time is smaller than or equal to the preset waiting time, namely Te-Ts is smaller than or equal to T2, sending a query instruction to the cloud server, querying the stored execution result and uploading the result to the client.
Optionally, according to an embodiment of the invention, in response to the background running time being greater than the preset waiting time, the method further includes: judging whether the instruction type of the target instruction is a preset type or not; responding to the instruction type being a preset type, and sending a query instruction to a cloud server; and stopping sending the query instruction in response to the instruction type not being the preset type.
In an alternative embodiment, as shown in FIG. 3, when the background runtime is greater than the preset latency, i.e., te-Ts > T2, the instruction type of the target instruction needs to be determined. If the instruction type is a preset instruction, that is, the target instruction is an operation of opening/closing a door lock, a window, a skylight, an air conditioner and the like, and an execution result needs to be fed back to a user, a query instruction is sent to the cloud server. If the instruction type is not the preset instruction, namely the target instruction is remote vehicle searching, air conditioner temperature adjusting and other operations, the execution result does not need to be fed back to the user, the query instruction is stopped, and the result is uploaded to the client.
Alternatively, according to the embodiment of the invention described above, the preset type is to turn on or off the target device on the target vehicle.
In an alternative embodiment, the preset type may indicate that the target command is to open/close a door lock, a window, a sunroof, an air conditioner, or the like of the target vehicle.
Optionally, according to the embodiment of the present invention, after sending the query instruction to the cloud server, the method further includes: acquiring the sending time of sending the query instruction; and stopping sending the query instruction in response to the sending time reaching the preset sending time.
The preset sending time may be a first preset time T1 or a second preset time T2, which may be used as a time for uploading an execution result to the client by the cloud server.
In an alternative embodiment, as shown in fig. 3, after sending the query to the cloud server, the sending time of the query is obtained. If the sending time reaches the second preset time T2, judging whether the target instruction is of a preset type. When the target instruction is remote vehicle searching, air conditioner temperature adjusting and other operations, the result does not need to be fed back to the user, the storage time does not need to be prolonged, the second preset time T2 is used as the preset sending time, and the inquiry is stopped and the result is uploaded to the client. When the target command is to open/close a door lock, a window, a skylight, an air conditioner and the like of the target vehicle, the first preset time T1 is taken as a preset sending time, whether the inquiring time reaches T1 is judged, if so, the inquiring is stopped, and if not, the inquiring is continued until the T1 is reached. And finally uploading the query result to the client.
Optionally, according to the embodiment of the present invention, a target instruction sent by a client and an operation state of the client are obtained, where the target instruction is used to control a target vehicle to execute an operation corresponding to the target instruction, and the operation state is used to characterize whether the client enters a background operation; the method comprises the steps of sending a target instruction to a target vehicle and receiving execution information returned by the target vehicle, wherein the execution information is used for representing an execution result after the target vehicle executes an operation corresponding to the target instruction; responding to the running state that the client enters the background running state and the instruction type of the target instruction is a preset type, and determining the storage time of the execution information as a first preset time; and determining that the storage time of the execution information is a second preset time in response to the running state that the client does not enter the background running or the instruction type is not the preset type, wherein the first preset time is longer than the second preset time.
In an alternative embodiment, as shown in fig. 3, after a target instruction sent by a client and an operation state of the client are obtained and the instruction is successfully issued to a cloud server, the cloud server sends the target instruction to a target vehicle, and the target vehicle performs an operation according to content corresponding to target information and sends the execution information to the cloud server for storage. And after the client enters the background service, the cloud server records that the client enters the background service and judges whether the target information is of a preset type. If the preset type is that the target information is the operation of opening/closing a door lock, a window, a skylight, an air conditioner and the like of the target vehicle, the storage time of the execution information is prolonged, and the first preset time T1 is determined. If the background state or the non-preset type is not adopted, namely, the target information is the operations such as remote car searching, air conditioner temperature adjustment and the like, the storage time of the execution information is determined to be the second preset time T2, and the result is uploaded to the client.
Example 2
According to another aspect of the embodiments of the present invention, there is further provided an information processing apparatus, which may execute the information processing method in the foregoing embodiments, and the specific implementation manner and the preferred application scenario are the same as those of the foregoing embodiments, which are not described herein.
Fig. 4 is a schematic diagram of an information processing apparatus according to an embodiment of the present invention, as shown in fig. 4, including:
the instruction sending module 42 is configured to send a target instruction to the cloud server, where the target instruction is used to control the target vehicle to execute an operation corresponding to the target instruction, the target instruction is sent to the target vehicle by the cloud server, and execution information returned by the target vehicle is stored by the cloud server, and the execution information is used to characterize an execution result after the target vehicle executes the operation corresponding to the target instruction;
The state sending module 44 is configured to send, in response to the client entering the background operation, an operation state of the client to the cloud server, where the operation state is used to characterize whether the client enters the background operation, in response to the operation state being that the client enters the background operation and an instruction type of the target instruction is a preset type, a storage time of the execution information in the cloud server is a first preset time, and in response to the operation state being that the client does not enter the background operation or the instruction type is not the preset type, the storage time of the execution information in the cloud server is a second preset time, and the first preset time is greater than the second preset time.
The instruction sending module can be an instruction button in the mobile phone APP client and is used for sending an instruction of remotely controlling the vehicle to the cloud server, so that the target vehicle can execute functions according to the instruction. The state sending module may be a mobile phone APP client, and send the running state of the client to the cloud end at this time, where the running state may include a background state and a foreground state, and when the client enters the background state, the time for storing the execution information in the memory of the cloud end server is determined according to the instruction types of different target instructions, the extended storage time is set to a first preset time, and the normal storage time is set to a second preset time.
Optionally, according to an embodiment of the above invention, the apparatus further includes: the query module is used for responding to the return of the client to the foreground operation and sending a query instruction to the cloud server, wherein the query instruction is used for acquiring the execution information stored in the cloud server, and the storage time is determined by the operation state and the instruction type.
Optionally, according to an embodiment of the present invention, the query module includes: the time acquisition unit is used for acquiring the background running time of the client entering the background running, wherein the background running time is determined by the first moment of the client entering the background running and the second moment of returning to the foreground running; the starting inquiry unit is used for responding to the fact that the background running time is smaller than or equal to the preset waiting time, and sending an inquiry instruction to the cloud server, wherein the response time of the inquiry instruction is the preset running time, and the preset waiting time is determined based on the second preset time.
Optionally, according to an embodiment of the present invention, the query module further includes: the instruction judging unit is used for judging whether the instruction type of the target instruction is a preset type; the starting query unit is used for responding to the fact that the instruction type is a preset type and sending a query instruction to the cloud server; and the stopping query unit is used for stopping sending the query instruction in response to the instruction type not being the preset type.
Optionally, according to an embodiment of the present invention, the device is further configured to switch on or off a target device on the target vehicle in a preset type.
Optionally, according to the above embodiment of the present invention, the query device further includes: a time acquisition unit for acquiring a transmission time of the transmission query instruction; and the stopping inquiry unit is used for stopping sending the inquiry instruction in response to the sending time reaching the preset sending time.
Optionally, according to the embodiment of the present invention, fig. 5 is a schematic diagram of an optional cloud device according to an embodiment of the present invention, as shown in fig. 5, where the device further includes:
The state acquisition module 72 is configured to acquire a target instruction sent by the client and an operation state of the client, where the target instruction is used to control the target vehicle to execute an operation corresponding to the target instruction, and the operation state is used to characterize whether the client enters a background operation;
the information receiving module 74 is configured to send a target instruction to the target vehicle, and receive execution information returned by the target vehicle, where the execution information is used to characterize an execution result after the target vehicle executes an operation corresponding to the target instruction;
A first time determining module 76, configured to determine, in response to the running state being that the client enters the background running state and the instruction type of the target instruction is a preset type, that the storage time of the execution information is a first preset time;
The second time determining module 78 is configured to determine, in response to the running state being that the client does not enter the background running or the instruction type is not a preset type, that the storage time of the execution information is a second preset time, where the first preset time is greater than the second preset time.
The state acquisition module can be used for the cloud server to acquire a target instruction of the client and an operation state of the client, wherein the target instruction comprises operations such as opening/closing a door lock, opening/closing a car window, opening/closing a skylight, opening/closing an air conditioner, remotely searching a car, adjusting the temperature of the air conditioner and the like, and the operation state comprises foreground operation and background operation. The information receiving module is used for receiving the execution information, namely the execution result, transmitted by the target vehicle by the cloud server. The first time determining module may determine that the time of storing the execution information in the cloud storage is a first preset time T1, and when the cloud storage is applied to background operation of the client and the target information is of a preset type, the storage time needs to be prolonged. The second time determining module may determine that the storage execution information time of the city memory is a second preset time T2, and when the second time determining module is applied to the foreground operation of the client or the target information is not of a preset type, the storage time does not need to be prolonged.
Example 3
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 one or more programs are executed by one or more processors, the one or more processors are caused to perform the information processing method of any of the above embodiments.
Example 4
According to an aspect of the embodiments of the present invention, there is provided a computer-readable storage medium including a stored program, wherein the apparatus in which the computer-readable storage medium is controlled to execute the information processing method of any one of the above embodiments when the program is run.
Example 5
According to an aspect of the embodiments of the present invention, there is provided a processor for executing a program, wherein the program executes the information processing method of any one of the above embodiments.
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 may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, 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 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 on 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 essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including 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 according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb 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 (9)

1. An information processing method, characterized by comprising:
A target instruction is sent to a cloud server, wherein the target instruction is used for controlling a target vehicle to execute an operation corresponding to the target instruction, the target instruction is sent to the target vehicle by the cloud server, execution information returned by the target vehicle is stored by the cloud server, and the execution information is used for representing an execution result after the target vehicle executes the operation corresponding to the target instruction;
Transmitting an operation state of the client to the cloud server in response to the client entering a background operation, wherein the operation state is used for representing whether the client enters the background operation, the storage time of the execution information in the cloud server is prolonged to a first preset time in response to the operation state being that the client enters the background operation and the instruction type of the target instruction is a preset type, and the storage time of the execution information in the cloud server is a second preset time in response to the operation state being that the client does not enter the background operation or the instruction type is not a preset type, wherein the first preset time is longer than the second preset time;
The method further comprises the steps of:
Responding to the return of the client to the foreground operation, and obtaining the background operation time of the client entering the background operation, wherein the background operation time is determined by the first time of the client entering the background operation and the second time of the client returning to the foreground operation;
judging whether the instruction type of the target instruction is a preset type or not in response to the background running time being larger than a preset waiting time;
And responding to the instruction type is the preset type, and sending a query instruction to the cloud server, wherein the query instruction is used for acquiring the execution information stored in the cloud server, and the storage time is determined by the running state and the instruction type.
2. The method of claim 1, wherein sending a query to the cloud server in response to the client returning to foreground operation comprises:
and responding to the background running time being smaller than or equal to a preset waiting time, and sending the query instruction to the cloud server, wherein the response time of the query instruction is the preset running time, and the preset waiting time is determined based on the second preset time.
3. The method of claim 1, wherein in response to the background runtime being greater than a preset latency, the method further comprises
Judging whether the instruction type of the target instruction is a preset type or not;
Responding to the instruction type is the preset type, and sending the query instruction to the cloud server;
And stopping sending the query instruction in response to the instruction type not being the preset type.
4. A method according to claim 3, wherein the preset type is turning on or off a target device on the target vehicle.
5. The method of claim 2, wherein after sending the query to the cloud server, the method further comprises:
acquiring the sending time of sending the query instruction;
and stopping sending the query instruction in response to the sending time reaching a preset sending time.
6. An information processing method, characterized by comprising:
Acquiring a target instruction sent by a client and an operation state of the client, wherein the target instruction is used for controlling a target vehicle to execute an operation corresponding to the target instruction, and the operation state is used for representing whether the client enters a background operation;
The target instruction is sent to the target vehicle, and execution information returned by the target vehicle is received, wherein the execution information is used for representing an execution result of the target vehicle after the target vehicle executes the operation corresponding to the target instruction;
Responding to the running state that the client enters a background to run and the instruction type of the target instruction is a preset type, and prolonging the storage time of the execution information to a first preset time;
Determining that the storage time of the execution information is a second preset time in response to the running state being that the client does not enter a background running state or the instruction type is not a preset type, wherein the first preset time is longer than the second preset time;
The method further comprises the steps of:
and sending the execution information to the client in response to receiving a query instruction sent by the client, wherein the query instruction is sent by the client under preset conditions, and the preset conditions comprise: the client returns to the foreground operation, the background operation event of the client entering the background operation is larger than the preset waiting event, and the instruction type of the target instruction is a preset type.
7. An information processing apparatus, characterized by comprising:
The system comprises an instruction sending module, a cloud server and a target vehicle, wherein the instruction sending module is used for sending a target instruction to the cloud server, the target instruction is used for controlling the target vehicle to execute the operation corresponding to the target instruction, the target instruction is sent to the target vehicle by the cloud server, the execution information returned by the target vehicle is stored by the cloud server, and the execution information is used for representing the execution result of the target vehicle after executing the operation corresponding to the target instruction;
The state sending module is used for responding to the background running of the client and sending the running state of the client to the cloud server, wherein the running state is used for representing whether the client enters the background running or not, the storage time of the execution information in the cloud server is prolonged to a first preset time in response to the running state being the background running of the client and the instruction type of the target instruction being the preset type, the storage time of the execution information in the cloud server is a second preset time in response to the running state being the background running of the client or the instruction type not being the preset type, and the first preset time is longer than the second preset time;
The apparatus further comprises:
the time acquisition module is used for responding to the return of the client to the foreground operation and acquiring the background operation time of the client entering the background operation, wherein the background operation time is determined by the first time of the client entering the background operation and the second time of the client returning to the foreground operation;
The type judging module is used for judging whether the instruction type of the target instruction is a preset type or not in response to the background running time being larger than the preset waiting time;
The query instruction sending module is used for responding to the instruction type being the preset type and sending a query instruction to the cloud server, wherein the query instruction is used for obtaining the execution information stored in the cloud server, and the storage time is determined by the running state and the instruction type.
8. An information processing apparatus, characterized by comprising:
The system comprises a state acquisition module, a state judgment module and a state judgment module, wherein the state acquisition module is used for acquiring a target instruction sent by a client and an operation state of the client, the target instruction is used for controlling a target vehicle to execute an operation corresponding to the target instruction, and the operation state is used for representing whether the client enters a background operation or not;
The information receiving module is used for sending the target instruction to the target vehicle and receiving execution information returned by the target vehicle, wherein the execution information is used for representing an execution result of the target vehicle after the target vehicle executes the operation corresponding to the target instruction;
The first time determining module is used for responding to the running state that the client enters a background to run and the instruction type of the target instruction is a preset type, and prolonging the storage time of the execution information to a first preset time;
The second time determining module is used for determining that the storage time of the execution information is second preset time in response to the running state that the client does not enter background running or the instruction type is not a preset type, wherein the first preset time is larger than the second preset time;
The apparatus further comprises:
the information sending module is used for responding to the query instruction sent by the client and sending the execution information to the client, wherein the query instruction is sent by the client under preset conditions, and the preset conditions comprise: the client returns to the foreground operation, the background operation event of the client entering the background operation is larger than the preset waiting event, and the instruction type of the target instruction is a preset type.
9. 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-6.
CN202210778365.1A 2022-06-30 2022-06-30 Information processing method and device and vehicle Active CN115314531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210778365.1A CN115314531B (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
CN202210778365.1A CN115314531B (en) 2022-06-30 2022-06-30 Information processing method and device and vehicle

Publications (2)

Publication Number Publication Date
CN115314531A CN115314531A (en) 2022-11-08
CN115314531B true CN115314531B (en) 2024-05-17

Family

ID=83856398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210778365.1A Active CN115314531B (en) 2022-06-30 2022-06-30 Information processing method and device and vehicle

Country Status (1)

Country Link
CN (1) CN115314531B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188653A (en) * 2011-12-27 2013-07-03 华为终端有限公司 Method of data receiving, method of data sending, mobile terminal and server
CN103297323A (en) * 2013-05-02 2013-09-11 华为软件技术有限公司 Method and device for sending user states
CN104802734A (en) * 2015-04-25 2015-07-29 深圳市几米电子有限公司 Intelligent vehicle management system and intelligent vehicle management method
CN110390060A (en) * 2019-06-21 2019-10-29 深圳市顺易通信息科技有限公司 A kind of inquiry parking information method and device, terminal, cloud server, system
CN112087508A (en) * 2020-09-03 2020-12-15 中国第一汽车股份有限公司 Remote control method, device and system for vehicle functions and storage medium
CN113873448A (en) * 2021-08-24 2021-12-31 江铃汽车股份有限公司 Method for remotely waking up vehicle-mounted intelligent terminal after sleeping

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188653A (en) * 2011-12-27 2013-07-03 华为终端有限公司 Method of data receiving, method of data sending, mobile terminal and server
CN103297323A (en) * 2013-05-02 2013-09-11 华为软件技术有限公司 Method and device for sending user states
CN104802734A (en) * 2015-04-25 2015-07-29 深圳市几米电子有限公司 Intelligent vehicle management system and intelligent vehicle management method
CN110390060A (en) * 2019-06-21 2019-10-29 深圳市顺易通信息科技有限公司 A kind of inquiry parking information method and device, terminal, cloud server, system
CN112087508A (en) * 2020-09-03 2020-12-15 中国第一汽车股份有限公司 Remote control method, device and system for vehicle functions and storage medium
CN113873448A (en) * 2021-08-24 2021-12-31 江铃汽车股份有限公司 Method for remotely waking up vehicle-mounted intelligent terminal after sleeping

Also Published As

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

Similar Documents

Publication Publication Date Title
CN101304361A (en) Communication system, information management device and method, and information processing device and method
CN104601203A (en) Dynamic connection parameter regulation method and device for low-power consumption Bluetooth equipment
CN102098182A (en) Method for restoring allocation of distributed equipment and distributed equipment
CN109167711B (en) Household appliance control method and device, storage medium and server
CN104754827A (en) Equipment state indicator lamp control method and equipment state indicator lamp control device
CN113375297A (en) Method and device for controlling air conditioner and air conditioner
CN113572669B (en) Scene processing method and device, intelligent gateway and processor
CN113498594A (en) Control method and device of intelligent household system, electronic equipment and storage medium
CN115314531B (en) Information processing method and device and vehicle
CN114253147A (en) Intelligent device control method and device, electronic device and storage medium
CN113395193B (en) Equipment control method and device, computer equipment and storage medium
CN111488207B (en) Application process keep-alive method and device, network equipment and storage medium
CN113162992B (en) Method, device, equipment and storage medium for controlling uninterrupted flow of system upgrading
CN115691494A (en) Voice control method, electronic device and computer readable storage medium
CN115309062A (en) Device control method, device, storage medium, and electronic apparatus
CN114079732B (en) Camera control method and device, electronic equipment and storage medium
CN112416641A (en) Controlled end node restart detection method in master-slave architecture and master control end node
CN105094706A (en) Method and double control system for updating SMART information regularly
CN115460060B (en) Device upgrading method and device of intelligent device, storage medium and electronic device
CN115314530B (en) Information processing method and device and vehicle
CN115190018B (en) Method and device for playing upgrade prompt information, storage medium and electronic device
CN108334332A (en) A kind of upgrade method and system of the self-service primary control program for selling equipment
CN115473805B (en) Updating method and device of equipment, storage medium and electronic device
CN114073424B (en) Oven, data processing system, method, device and medium
CN112333073B (en) Network acceleration method, system, device and readable storage medium of gateway 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