CN110099119B - Data sharing method and device - Google Patents

Data sharing method and device Download PDF

Info

Publication number
CN110099119B
CN110099119B CN201910375033.7A CN201910375033A CN110099119B CN 110099119 B CN110099119 B CN 110099119B CN 201910375033 A CN201910375033 A CN 201910375033A CN 110099119 B CN110099119 B CN 110099119B
Authority
CN
China
Prior art keywords
data
terminal
shared
vehicle end
executed
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
CN201910375033.7A
Other languages
Chinese (zh)
Other versions
CN110099119A (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.)
Apollo Intelligent Connectivity Beijing Technology Co Ltd
Original Assignee
Apollo Zhilian Beijing Technology Co Ltd
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 Apollo Zhilian Beijing Technology Co Ltd filed Critical Apollo Zhilian Beijing Technology Co Ltd
Priority to CN201910375033.7A priority Critical patent/CN110099119B/en
Publication of CN110099119A publication Critical patent/CN110099119A/en
Application granted granted Critical
Publication of CN110099119B publication Critical patent/CN110099119B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • 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

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)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a data sharing method and a device, wherein the method comprises the following steps: receiving a first control request sent by a first terminal, wherein the first control request comprises a first operation to be executed; acquiring first data corresponding to a first operation from shared data of a shared end, wherein the shared data comprises data uploaded to the shared end by at least one terminal; a first operation is performed based on the first data. The vehicle machine provided by the embodiment of the invention can acquire the shared data of the terminal or other terminals from the shared data according to the request of the terminal and execute the operation corresponding to the request of the terminal, so that the data in other terminals can be shared by the terminal, the user experience is improved, and the problem that a single terminal can only control the vehicle machine according to the data of the terminal is solved.

Description

Data sharing method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data sharing method and apparatus.
Background
Because the car machine can be connected with only one mobile terminal for mutual operation at a time, and the data of each mobile terminal are mutually independent, when the car machine is connected with the mobile terminal of one user, and the mobile terminal of another user wants to control the car machine to play music or perform operations such as voice interaction and the like, the car machine control can be realized only by disconnecting the mobile terminal connected with the previous user and accessing the mobile terminal of the user. But this may cause the operation currently being performed by the car machine to be interrupted, thereby causing a poor user experience.
Disclosure of Invention
Embodiments of the present invention provide a data sharing method and apparatus, so as to solve one or more technical problems in the prior art.
In a first aspect, an embodiment of the present invention provides a data sharing method, including:
receiving a first control request sent by a first terminal, wherein the first control request comprises a first operation to be executed;
acquiring first data corresponding to the first operation from shared data of a shared end, wherein the shared data comprises data uploaded to the shared end by at least one terminal;
and executing the first operation according to the first data.
In one embodiment, the method further comprises:
receiving a second control request sent by a second terminal, wherein the second control request comprises a second operation to be executed;
acquiring second data corresponding to the second operation from the shared data of the shared end;
in a case where the second operation is of a different type from the first operation, the second operation is performed according to the second data while the first operation is performed.
In one embodiment, the method further comprises:
and stopping executing the first operation and executing the second operation according to the second data under the condition that the type of the second operation is the same as that of the first operation.
In one embodiment, the method further comprises:
and sending an update request to the sharing terminal, wherein the update request comprises the currently executed operation, and the update request is used for indicating the sharing terminal to update the sharing interface information of the terminal connected with the sharing terminal.
In a second aspect, an embodiment of the present invention provides a data sharing method, including:
acquiring first data corresponding to first operation needing to be executed by a vehicle end from shared data, wherein the first operation is the operation needing to be executed and included in a first control request sent by a first terminal to the vehicle end, and the shared data comprises data uploaded by at least one terminal;
and sending the first data to the vehicle end.
In one embodiment, the method further comprises:
acquiring second data corresponding to second operation required to be executed by the vehicle end from the shared data, wherein the second operation is the operation required to be executed and included in a second control request received by the vehicle end from a second terminal;
and sending the second data to the vehicle end.
In one embodiment, the method further comprises:
and updating the shared interface information of the terminal according to an updating request sent by the vehicle end, wherein the updating request comprises the operation currently executed by the vehicle end.
In a third aspect, an embodiment of the present invention provides a data sharing method, including:
sending a first control request to a vehicle end, wherein the first control request comprises a first operation to be executed, and the first control request is used for indicating the vehicle end to acquire first data corresponding to the first operation from shared data of a shared end and enabling the vehicle end to execute the first operation according to the first data;
the shared data comprises data uploaded to the shared terminal by at least one terminal.
In one embodiment, the method further comprises:
and uploading data to the sharing end.
In one embodiment, the method further comprises:
receiving shared interface information, wherein the shared interface information comprises an operation allowed to be executed on the shared data;
and responding to the selection operation of the shared data in the shared interface information, and sending a first control request to the vehicle end.
In a fourth aspect, an embodiment of the present invention provides a data sharing apparatus, including:
the first receiving module is used for receiving a first control request sent by a first terminal, wherein the first control request comprises a first operation to be executed;
a first obtaining module, configured to obtain first data corresponding to the first operation from shared data of a shared end, where the shared data includes data uploaded to the shared end by at least one terminal;
and the execution module is used for executing the first operation according to the first data.
In one embodiment, the method further comprises:
a second receiving module, configured to receive a second control request sent by a second terminal, where the second control request includes a second operation to be executed;
a second obtaining module, configured to obtain second data corresponding to the second operation from the shared data at the shared end;
an operation type module, configured to execute the second operation according to the second data while executing the first operation if the second operation is of a different type from the first operation; and the second operation execution unit is further configured to stop executing the first operation and execute the second operation according to the second data if the second operation is the same as the first operation in type.
In one embodiment, the method further comprises:
and the updating module is used for sending an updating request to the sharing terminal, wherein the updating request comprises the currently executed operation, and the updating request is used for indicating the sharing terminal to update the sharing interface information of the terminal connected with the sharing terminal.
In a fifth aspect, an embodiment of the present invention provides a data sharing apparatus, including:
the first acquisition module is used for acquiring first data corresponding to first operation needing to be executed by a vehicle end from shared data, wherein the first operation is the operation needing to be executed and included in a first control request sent to the vehicle end by a first terminal, and the shared data comprises data uploaded by at least one terminal;
and the first sending module is used for sending the first data to the vehicle end.
In one embodiment, the method further comprises:
a second obtaining module, configured to obtain, from the shared data, second data corresponding to a second operation that needs to be executed by the vehicle end, where the second operation is an operation that needs to be executed and is included in a second control request received by the vehicle end from a second terminal;
and the second sending module is used for sending the second data to the vehicle end.
In a sixth aspect, an embodiment of the present invention provides a data sharing apparatus, including:
the system comprises a first sending module, a first receiving module and a second sending module, wherein the first sending module is used for sending a first control request to a vehicle end, the first control request comprises a first operation to be executed, and the first control request is used for indicating the vehicle end to obtain first data corresponding to the first operation from shared data of a shared end and enabling the vehicle end to execute the first operation according to the first data; the shared data comprises data uploaded to the shared terminal by at least one terminal.
In one embodiment, the method further comprises:
and the uploading module is used for uploading data to the sharing end.
In one embodiment, the method further comprises:
the receiving module is used for receiving shared interface information, and the shared interface information comprises operation allowed to be executed on the shared data;
and the second sending module is used for responding to the selection operation of the shared data in the shared interface information and sending a first control request to the vehicle terminal.
In a seventh aspect, an embodiment of the present invention provides a data sharing terminal, where functions of the data sharing terminal may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the data sharing terminal includes a processor and a memory, the memory is used for storing a program supporting the data sharing terminal to execute the data sharing method, and the processor is configured to execute the program stored in the memory. The data sharing terminal may further include a communication interface for communicating with other devices or a communication network.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing computer software instructions for a data sharing terminal, which includes a program for executing the data sharing method.
One of the above technical solutions has the following advantages or beneficial effects: the vehicle machine provided by the embodiment of the invention can acquire the shared data of the terminal or other terminals from the shared data according to the request of the terminal and execute the operation corresponding to the request of the terminal, so that the vehicle machine can share the data in other terminals according to the request of the terminal, the user experience is improved, and the problem that a single terminal can only control the vehicle machine according to the data of the single terminal is solved.
Another technical scheme in the above technical scheme has the following advantages or beneficial effects: the terminal of the embodiment of the invention uploads the local sharable data to the sharing end while being connected with the car machine, and the car machine can acquire the shared data of the terminal or other terminals from the sharing end according to the request of other terminals, thereby realizing the sharing operation and data sharing of the data in other terminals by the terminal.
Another technical scheme in the above technical scheme has the following advantages or beneficial effects: the sharing end of the embodiment of the invention can store all the data uploaded by each terminal as the shared data, so that the terminals can execute corresponding operations on the data in the terminals or other terminals through the vehicle machine, and the data sharing and data sharing operations among multiple terminals are realized.
The foregoing summary is provided for the purpose of description only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the present invention will be readily apparent by reference to the drawings and following detailed description.
Drawings
In the drawings, like reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily to scale. It is appreciated that these drawings depict only some embodiments in accordance with the disclosure and are therefore not to be considered limiting of its scope.
Fig. 1 shows a flow chart of a data sharing method according to an embodiment of the present invention.
Fig. 2 shows a flow chart of a data sharing method according to another embodiment of the present invention.
Fig. 3 shows a flow chart of a data sharing method according to another embodiment of the present invention.
Fig. 4 shows a flow chart of a data sharing method according to another embodiment of the present invention.
Fig. 5 shows a flowchart of a data sharing method according to another embodiment of the present invention.
Fig. 6 shows a flowchart of a data sharing method according to another embodiment of the present invention.
Fig. 7 shows a flowchart of a data sharing method according to another embodiment of the present invention.
Fig. 8 shows a flow chart of a data sharing method according to another embodiment of the present invention.
Fig. 9 shows a flowchart of a data sharing method according to another embodiment of the present invention.
Fig. 10 shows a block diagram of a data sharing apparatus according to an embodiment of the present invention.
Fig. 11 is a block diagram showing a configuration of a data sharing apparatus according to another embodiment of the present invention.
Fig. 12 is a block diagram showing a configuration of a data sharing apparatus according to another embodiment of the present invention.
Fig. 13 is a block diagram showing a configuration of a data sharing apparatus according to another embodiment of the present invention.
Fig. 14 is a block diagram showing a configuration of a data sharing apparatus according to another embodiment of the present invention.
Fig. 15 is a block diagram showing a configuration of a data sharing apparatus according to another embodiment of the present invention.
Fig. 16 is a schematic structural diagram of a data sharing terminal according to an embodiment of the present invention.
Detailed Description
In the following, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive.
Fig. 1 shows a flow chart of a data sharing method according to an embodiment of the present invention. As shown in fig. 1, the data sharing method can be applied to a car machine, an intelligent playback device, and the like, and includes:
s100: receiving a first control request sent by a first terminal, wherein the first control request comprises a first operation needing to be executed. The first operation may include an operation that the user needs the car machine or the smart player device. For example, controlling car navigation, playing music and car voice interaction, etc. The first terminal may include a cell phone, a computer, a smart watch, a tablet computer, and the like. The manner of receiving the first control request transmitted by the first terminal may be a wired or wireless manner. For example, by bluetooth, wireless network, USB (Universal Serial Bus), etc.
S200: and acquiring first data corresponding to the first operation from the shared data of the sharing end, wherein the shared data comprises data uploaded to the sharing end by at least one terminal. The first data may include data uploaded to the shared terminal by the first terminal, and the first data may also include data uploaded to the shared terminal by other terminals. The data uploaded to the sharing terminal by the terminal may include data local to the terminal or data stored in the cloud terminal by the terminal. It should be noted that, the user can select the data to be uploaded to the sharing end according to the requirement. That is, the user considers that the data can be uploaded to the sharing terminal to be shared with another terminal. In one example, the data uploaded by the terminal into the sharing terminal can be a picture, audio, video or map data packet, and the like. The sharing end can be a separate device, and can also be integrated with the vehicle end into a device.
S300: a first operation is performed based on the first data. The first data may include data resources required to perform the first operation. For example, when the first data is audio data, the car machine or the smart playing device performs a first operation of converting the audio data into playable music or voice.
In one embodiment, as shown in fig. 2, the data sharing method further includes:
s400: and receiving a second control request sent by the second terminal, wherein the second control request comprises a second operation required to be executed. The second operation may include an operation that the user needs the car machine or the smart player device. For example, controlling car navigation, playing music and car voice interaction, etc. The second terminal may include a mobile phone, a computer, a smart watch, a tablet computer, and the like. The manner of receiving the second control request transmitted by the second terminal may be a wired or wireless manner. For example, by bluetooth, wireless network, USB (Universal Serial Bus), etc.
S500: and acquiring second data corresponding to the second operation from the shared data of the shared end.
S600: in the case where the second operation is of a different type from the first operation, the first operation is performed while the second operation is performed in accordance with the second data. For example, when the first operation is controlling the car machine to navigate, and the second operation is controlling the car machine to play music, since the two operations are different in type and do not conflict with each other, the car machine simultaneously executes two operations of playing music and navigating according to the requests of the first terminal and the second terminal.
In one embodiment, as shown in fig. 3, the data sharing method further includes:
s700: in the case where the second operation is of the same type as the first operation, the execution of the first operation is stopped, and the second operation is executed according to the second data. For example, when the first operation is controlling the car machine to play music and the second operation is also controlling the car machine to play music, the car machine can only execute the request of the second terminal to play music because the two operation types are the same and conflict.
In one embodiment, as shown in fig. 4, the data sharing method further includes:
s800: and sending an update request to the sharing end, wherein the update request comprises the currently executed operation, and the update request is used for indicating the sharing end to update the sharing interface information of the terminal connected with the sharing end. The shared interface information may include information about the execution operation of the car machine that each terminal can view, and may also include information about shared data displayed in the shared terminal. Through updating the shared interface information, each terminal can check the latest operation currently executed by the vehicle machine. Each terminal can also check the newly updated shared data and corresponding operations that each data can perform.
Fig. 5 shows a flow chart of a data sharing method according to an embodiment of the invention. As shown in fig. 5, the data sharing method can be applied to a terminal control system, a sharing end, and the like, and includes:
s10: the method comprises the steps of obtaining first data corresponding to first operation needing to be executed by a vehicle end from shared data, wherein the first operation is the operation needing to be executed and included in a first control request sent by a first terminal to the vehicle end, and the shared data comprises data uploaded by at least one terminal. The first operation may include an operation that the user needs the car machine or the smart player device. The first terminal may include a cell phone, a computer, a smart watch, a tablet computer, and the like. The manner of receiving the first control request transmitted by the first terminal may be a wired or wireless manner. The first data may include data uploaded to the sharing terminal by the first terminal, and the first data may also include data uploaded to the sharing terminal by other terminals. The data uploaded to the sharing terminal by the terminal may include data local to the terminal or data stored in the cloud terminal by the terminal. It should be noted that, the user can select the data to be uploaded to the sharing end according to the requirement. That is, the user considers that the data can be uploaded to the sharing terminal to be shared with another terminal.
S20: and sending the first data to the vehicle end.
In one embodiment, as shown in fig. 6, the data sharing method further includes:
s30: and acquiring second data corresponding to a second operation required to be executed by the vehicle end from the shared data, wherein the second operation is the operation required to be executed and included in a second control request received by the vehicle end from a second terminal. The second operation may include an operation that the user needs the car machine or the smart player device. The second terminal may include a cell phone, a computer, a smart watch, a tablet computer, etc. The manner of receiving the second control request transmitted by the second terminal may be a wired or wireless manner.
S40: and sending the second data to the vehicle end.
In one embodiment, as shown in fig. 7, the data sharing method further includes:
s50: and updating the shared interface information of the terminal according to an updating request sent by the vehicle end, wherein the updating request comprises the operation currently executed by the vehicle end.
Fig. 8 shows a flow chart of a data sharing method according to an embodiment of the invention. As shown in fig. 8, the data sharing method is applicable to a terminal, and includes:
s1000: and sending a first control request to the vehicle end, wherein the first control request comprises a first operation to be executed, and the first control request is used for indicating the vehicle end to acquire first data corresponding to the first operation from shared data of the shared end and enabling the vehicle end to execute the first operation according to the first data.
The shared data comprises data uploaded to a shared terminal by at least one terminal.
In one embodiment, as shown in fig. 8, the method further includes:
s2000: and uploading data to the sharing end.
In one embodiment, as shown in fig. 9, the method further includes:
s3000: shared interface information is received, the shared interface information including operations allowed to be performed on the shared data.
S4000: and responding to the selection operation of the shared data in the shared interface information, and sending a first control request to the vehicle terminal.
In one application example, as shown in fig. 10, the vehicle-mounted terminal control system includes a vehicle machine located in a vehicle, a first terminal located in a driver in the vehicle, a second terminal located in a passenger in a rear seat of the vehicle, and a terminal control system (shared terminal) connected to the vehicle machine, the first terminal, and the second terminal.
The first terminal is connected with the car machine, so that the screen of the first terminal is projected to the car machine, and the car machine can control the first terminal through touch or focus states. The first terminal can also control the car machine through the screen of the first terminal. The first terminal also uploads self data selected by the driver to a terminal control system for data sharing. Specifically, the music, video, map data packet, first terminal address, etc. of the first terminal are uploaded to a common file library of the terminal control system to form shared data.
And the second terminal is connected with the vehicle machine and uploads the data selected by the passenger to the terminal control system for data sharing. Specifically, the music, video, map data packet, address of the second terminal, and the like of the second terminal are uploaded to a common file library of the terminal control system to form shared data.
If other passengers exist on the vehicle, the other passengers can simultaneously establish connection with the vehicle machine and upload data to the terminal control system, so that simultaneous connection between the vehicle machine and multiple terminals is realized.
When a driver needs to navigate, a navigation request is sent to the vehicle machine, and the vehicle machine searches a map data packet from the common file library according to the navigation request. If the map data packet can be uploaded by the driver or the passenger. And the vehicle machine executes navigation operation according to the searched shared graph data.
At this time, when the passenger wants to play music, the passenger initiates a request for playing music to the car machine, and the car machine searches for music from the common file library according to the request for playing music. The music can be music uploaded by a driver or by a passenger, and can be selected when the passenger initiates a request. According to the searched music, the car machine executes the operation that the passenger needs to play the music and simultaneously executes the operation that the driver needs to navigate. Thereby satisfy driver and passenger's demand simultaneously through the car machine.
When a passenger wants to interact with the car machine in a voice mode, a voice interaction request is sent to the car machine in a voice sending mode to the second terminal, and the second terminal uploads voice data sent by the passenger to the terminal control system. The vehicle machine acquires voice data from the terminal control system according to the voice interaction request, and executes operation according to the voice data. For example, if the voice data is to change the navigation destination, the car machine changes the current navigation destination according to the request sent by the passenger based on the navigation request sent by the driver. Thus realizing the operation of navigation by the driver and the passenger at the same time. And the passenger can guarantee the accuracy of pronunciation through the mode that the second terminal launches pronunciation to the car machine, thereby avoids when the passenger directly sends pronunciation to the car machine, thereby makes the car machine misunderstanding passenger's intention because of the sound distortion that the propagation distance leads to. Further, the priority of the user may be set, for example, the priority of the driver is highest, and if the request of the driver and the passenger conflicts, the request of the driver may be preferentially performed.
When the vehicle-mounted terminal executes the operation corresponding to the request of the current first terminal and the second terminal, the synchronous updating data is sent to the terminal control system, and the terminal control system initiates a synchronous updating attempt to the first terminal and the second terminal according to the synchronous updating data, so that the shared interface information of the first terminal and the second terminal is updated, and passengers and drivers can see the operation currently executed by the vehicle-mounted terminal through the first terminal and the second terminal.
Fig. 11 illustrates a structure diagram of a data sharing apparatus according to an embodiment of the present invention. As shown in fig. 11, the data sharing apparatus can be applied to a car machine, a smart player, and the like, and includes:
a first receiving module 10, configured to receive a first control request sent by a first terminal, where the first control request includes a first operation that needs to be executed.
The first obtaining module 20 is configured to obtain first data corresponding to a first operation from shared data of a sharing end, where the shared data includes data uploaded to the sharing end by at least one terminal.
And the execution module 30 is configured to execute a first operation according to the first data.
In one embodiment, as shown in fig. 12, the method further includes:
the second receiving module 40 is configured to receive a second control request sent by the second terminal, where the second control request includes a second operation that needs to be executed.
A second obtaining module 50, configured to obtain second data corresponding to the second operation from the shared data of the sharing end.
An operation type module 60, configured to execute the second operation according to the second data while executing the first operation if the second operation is different from the first operation. And the processor is also used for stopping executing the first operation and executing the second operation according to the second data when the second operation is the same as the first operation in type.
In one embodiment, as shown in fig. 13, the method further includes:
the updating module 70 is configured to send an update request to the sharing end, where the update request includes a currently executed operation, and the update request is used to instruct the sharing end to update the sharing interface information of the terminal connected to the sharing end.
Fig. 14 shows a structure diagram of a data sharing apparatus according to an embodiment of the present invention. As shown in fig. 14, the data sharing apparatus is applicable to a terminal control system, a sharing side, and the like, and includes:
the first obtaining module 100 is configured to obtain first data corresponding to a first operation that needs to be executed by a vehicle end from shared data, where the first operation is an operation that needs to be executed and is included in a first control request sent by a first terminal to the vehicle end, and the shared data includes data uploaded by at least one terminal.
The first sending module 200 is configured to send the first data to the vehicle end.
In one embodiment, as shown in fig. 14, the method further includes:
the second obtaining module 300 is configured to obtain, from the shared data, second data corresponding to a second operation that needs to be executed by the vehicle end, where the second operation is an operation that needs to be executed and is included in a second control request received by the vehicle end from a second terminal.
And a second sending module 400, configured to send the second data to the vehicle end.
Fig. 14 is a block diagram showing a data sharing apparatus of two embodiments.
Fig. 15 shows a structure diagram of a data sharing apparatus according to an embodiment of the present invention. As shown in fig. 15, the data sharing apparatus is applicable to a terminal, and includes:
the first sending module 1 is configured to send a first control request to the vehicle end, where the first control request includes a first operation to be executed, and the first control request is used to instruct the vehicle end to obtain first data corresponding to the first operation from shared data of the shared end, and enable the vehicle end to execute the first operation according to the first data. The shared data comprises data uploaded to a shared terminal by at least one terminal.
In one embodiment, as shown in fig. 15, the method further includes:
and the uploading module 2 is used for uploading data to the sharing end.
In one embodiment, as shown in fig. 15, the method further includes:
and the receiving module 3 is used for receiving the shared interface information, and the shared interface information comprises the operation which is allowed to be executed on the shared data.
And the second sending module 4 is used for responding to the selection operation of the shared data in the shared interface information and sending the first control request to the vehicle end.
Fig. 15 shows a block diagram of a data sharing apparatus of three embodiments.
The functions of each module in each apparatus in the embodiments of the present invention may refer to the corresponding description in the above method, and are not described herein again.
Fig. 16 shows a block diagram of a data sharing terminal according to an embodiment of the present invention. As shown in fig. 16, the terminal includes: a memory 910 and a processor 920, the memory 910 having stored therein computer programs operable on the processor 920. The processor 920 implements the data sharing method in the above embodiments when executing the computer program. The number of the memory 910 and the processor 920 may be one or more.
The terminal further includes:
the communication interface 930 is configured to communicate with an external device to perform data sharing transmission.
Memory 910 may include high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
If the memory 910, the processor 920 and the communication interface 930 are implemented independently, the memory 910, the processor 920 and the communication interface 930 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 16, but that does not indicate only one bus or one type of bus.
Optionally, in an implementation, if the memory 910, the processor 920 and the communication interface 930 are integrated on a chip, the memory 910, the processor 920 and the communication interface 930 may complete communication with each other through an internal interface.
An embodiment of the present invention provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the method in any one of the above embodiments.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium. The storage medium may be a read-only memory, a magnetic or optical disk, or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various changes or substitutions within the technical scope of the present invention, and these should be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (16)

1. A data sharing method is applied to a vehicle end and is characterized by comprising the following steps:
receiving a first control request sent by a first terminal, wherein the first control request comprises a first operation to be executed;
acquiring first data corresponding to the first operation from shared data of a shared end, wherein the shared data comprises data uploaded to the shared end by at least one terminal; the first data comprises data resources required to perform the first operation;
executing the first operation according to the first data;
receiving a second control request sent by a second terminal, wherein the second control request comprises a second operation to be executed;
acquiring second data corresponding to the second operation from the shared data of the shared end;
in a case where the second operation is of a different type from the first operation, the second operation is performed according to the second data while the first operation is performed.
2. The method of claim 1, further comprising:
and stopping executing the first operation and executing the second operation according to the second data under the condition that the type of the second operation is the same as that of the first operation.
3. The method of claim 1, further comprising:
and sending an update request to the sharing terminal, wherein the update request comprises the currently executed operation, and the update request is used for indicating the sharing terminal to update the sharing interface information of the terminal connected with the sharing terminal.
4. A data sharing method is applied to a sharing end and is characterized by comprising the following steps:
acquiring first data corresponding to first operation needing to be executed by a vehicle end from shared data, wherein the first operation is the operation needing to be executed and included in a first control request sent by a first terminal to the vehicle end, and the shared data comprises data uploaded by at least one terminal; the first data comprises data resources required to perform the first operation;
acquiring second data corresponding to second operation needing to be executed by a vehicle end from shared data, wherein the second operation is the operation needing to be executed and included in a second control request sent to the vehicle end by a second terminal, and the shared data comprises data uploaded by at least one terminal; the second data comprises data resources required to perform the second operation; sending the first data and the second data to the vehicle end; and under the condition that the second operation is different from the first operation in type, enabling the vehicle end to execute the second operation according to the second data while executing the first operation.
5. The method of claim 4, further comprising:
and updating the shared interface information of the terminal according to an updating request sent by the vehicle end, wherein the updating request comprises the operation currently executed by the vehicle end.
6. A data sharing method is applied to a first terminal, and is characterized by comprising the following steps:
sending a first control request to a vehicle end, wherein the first control request comprises a first operation to be executed, and the first control request is used for indicating the vehicle end to acquire first data corresponding to the first operation from shared data of a shared end and enabling the vehicle end to execute the first operation according to the first data; the first data comprises data resources required to perform the first operation;
sending a second control request to a vehicle end, wherein the second control request comprises a second operation to be executed, and the second control request is used for instructing the vehicle end to acquire second data corresponding to the second operation from shared data of a shared end and enabling the vehicle end to execute the second operation according to the second data; the second data comprises data resources required to perform the second operation;
under the condition that the type of the second operation is different from that of the first operation, enabling the vehicle end to execute the second operation according to the second data while executing the first operation;
the shared data comprises data uploaded to the shared end by at least one terminal.
7. The method of claim 6, further comprising:
and uploading data to the sharing end.
8. The method of claim 6, further comprising:
receiving shared interface information, wherein the shared interface information comprises an operation allowed to be executed on the shared data;
and responding to the selection operation of the shared data in the shared interface information, and sending a first control request to the vehicle end.
9. A data sharing device applied to a vehicle end is characterized by comprising:
the first receiving module is used for receiving a first control request sent by a first terminal, wherein the first control request comprises a first operation to be executed;
a first obtaining module, configured to obtain first data corresponding to the first operation from shared data of a shared end, where the shared data includes data uploaded to the shared end by at least one terminal; the first data comprises data resources required to perform the first operation;
the execution module is used for executing the first operation according to the first data;
a second receiving module, configured to receive a second control request sent by a second terminal, where the second control request includes a second operation to be executed;
a second obtaining module, configured to obtain second data corresponding to the second operation from shared data of the shared end;
an operation type module, configured to execute the second operation according to the second data while executing the first operation if the second operation is of a different type from the first operation; and the processor is further configured to stop executing the first operation and execute the second operation according to the second data if the second operation is the same as the first operation in type.
10. The apparatus of claim 9, further comprising:
and the updating module is used for sending an updating request to the sharing terminal, wherein the updating request comprises the currently executed operation, and the updating request is used for indicating the sharing terminal to update the sharing interface information of the terminal connected with the sharing terminal.
11. A data sharing device applied to a sharing end is characterized by comprising:
the first acquisition module is used for acquiring first data corresponding to first operation needing to be executed by a vehicle end from shared data, wherein the first operation is the operation needing to be executed and included in a first control request sent to the vehicle end by a first terminal, and the shared data comprises data uploaded by at least one terminal; the first data comprises data resources required to perform the first operation;
the first sending module is used for sending the first data to the vehicle end;
a second obtaining module, configured to obtain, from the shared data, second data corresponding to a second operation that needs to be executed by the vehicle end, where the second operation is an operation that needs to be executed and is included in a second control request received by the vehicle end from a second terminal;
the second sending module is used for sending the second data to the vehicle end; and under the condition that the second operation is different from the first operation in type, enabling the vehicle end to execute the second operation according to the second data while executing the first operation.
12. A data sharing apparatus applied to a first terminal, comprising:
the system comprises a first sending module, a first receiving module and a second sending module, wherein the first sending module is used for sending a first control request to a vehicle end, the first control request comprises a first operation to be executed, and the first control request is used for indicating the vehicle end to obtain first data corresponding to the first operation from shared data of a shared end and enabling the vehicle end to execute the first operation according to the first data; the shared data comprises data uploaded to the shared terminal by at least one terminal, and the first data comprises data resources required for executing the first operation;
the first sending module is further configured to send a second control request to a vehicle end, where the second control request includes a second operation to be executed, and the second control request is used to instruct the vehicle end to obtain second data corresponding to the second operation from shared data of a shared end, and enable the vehicle end to execute the second operation according to the second data; the second data comprises data resources required to perform the second operation; and under the condition that the second operation is different from the first operation in type, enabling the vehicle end to execute the second operation according to the second data while executing the first operation.
13. The apparatus of claim 12, further comprising:
and the uploading module is used for uploading data to the sharing end.
14. The apparatus of claim 12, further comprising:
the receiving module is used for receiving shared interface information, and the shared interface information comprises operation allowed to be executed on the shared data;
and the second sending module is used for responding to the selection operation of the shared data in the shared interface information and sending a first control request to the vehicle end.
15. A data sharing terminal, comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-8.
16. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 8.
CN201910375033.7A 2019-05-07 2019-05-07 Data sharing method and device Active CN110099119B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910375033.7A CN110099119B (en) 2019-05-07 2019-05-07 Data sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910375033.7A CN110099119B (en) 2019-05-07 2019-05-07 Data sharing method and device

Publications (2)

Publication Number Publication Date
CN110099119A CN110099119A (en) 2019-08-06
CN110099119B true CN110099119B (en) 2023-03-21

Family

ID=67447090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910375033.7A Active CN110099119B (en) 2019-05-07 2019-05-07 Data sharing method and device

Country Status (1)

Country Link
CN (1) CN110099119B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026482B (en) * 2019-11-29 2022-02-22 维沃移动通信有限公司 Application program control method and electronic equipment
CN110941501A (en) * 2019-11-29 2020-03-31 维沃移动通信有限公司 Application sharing method and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516418A (en) * 2012-06-29 2014-01-15 深圳市快播科技有限公司 Multi-media interaction communication system, method and receiving device
CN104683420A (en) * 2013-12-03 2015-06-03 中国科学院声学研究所 Method for realizing digital home service synchronous sharing and multi-device control

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248648B (en) * 2012-02-09 2016-03-09 腾讯科技(深圳)有限公司 A kind of method and device realizing shared data edition
KR101459929B1 (en) * 2013-07-17 2014-11-07 현대자동차주식회사 Setting data sharing method for vehicle control
CN105223913A (en) * 2014-06-30 2016-01-06 青岛海尔智能家电科技有限公司 The method controlled for equipment and device
CN104506650B (en) * 2015-01-04 2018-07-03 华为技术有限公司 A kind of user equipment cooperative control method, user equipment and communication system
CN105117184B (en) * 2015-07-07 2018-11-27 东风汽车有限公司 Connection control method and system for screen of vehicle and mobile phone
CN105185391B (en) * 2015-08-27 2017-08-04 三星电子(中国)研发中心 A kind of multi-user's audio amplifier control method and device
CN105979071A (en) * 2016-04-26 2016-09-28 上海鹰信智能技术有限公司 Mobile phone and vehicle equipment co-operating method
CN106603716A (en) * 2016-12-30 2017-04-26 Tcl集团股份有限公司 Synchronization method of intelligent device state, intelligent device and control terminal thereof
KR102424175B1 (en) * 2017-07-27 2022-07-22 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 Method and terminal for controlling shared devices
CN107302592B (en) * 2017-08-01 2023-04-14 上海博泰悦臻网络技术服务有限公司 Method and system for synchronizing information of user terminal and vehicle machine
CN107257308A (en) * 2017-08-04 2017-10-17 深圳创维数字技术有限公司 A kind of control method of smart machine, smart machine and storage medium
CN109471392A (en) * 2018-11-12 2019-03-15 左晓雷 A kind of network living broadcast interactive method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516418A (en) * 2012-06-29 2014-01-15 深圳市快播科技有限公司 Multi-media interaction communication system, method and receiving device
CN104683420A (en) * 2013-12-03 2015-06-03 中国科学院声学研究所 Method for realizing digital home service synchronous sharing and multi-device control

Also Published As

Publication number Publication date
CN110099119A (en) 2019-08-06

Similar Documents

Publication Publication Date Title
US8943438B2 (en) Vehicle-mounted device having portable-device detection capability
CN107621923B (en) Display device
US10205770B2 (en) Mobile device application integration with infotainment head units
EP2648396B1 (en) In-car information system, information terminal, and application execution method
JP6058654B2 (en) In-vehicle information system, information terminal, application execution method
US20130298052A1 (en) In-Car Information System, Information Terminal, And Application Execution Method
CN110673964A (en) Audio playing control method and device of vehicle-mounted system
CN110099119B (en) Data sharing method and device
US20150207689A1 (en) Connection Device, Program, and Connection Method
CN110297658B (en) Function component sharing method and device and computer equipment
JP5920104B2 (en) Voice control device for vehicle
CN103917849B (en) Vehicle navigation apparatus
KR20200067742A (en) System for updating software of electronic control unit of vehicle
JP5494318B2 (en) Mobile terminal and communication system
CN114422436B (en) Gateway, gateway control method, gateway control device, electronic equipment and storage medium
CN105374229A (en) Route generation method and user terminal
CN109857295B (en) Focus control method and device and storage medium
CN114827704A (en) Vehicle-mounted system interaction method with vehicle, storage medium and mobile terminal
JP2015148831A (en) On-vehicle information system, information terminal, and application execution method
CN110086880B (en) Method and apparatus for creating instances of network requests
WO2018110169A1 (en) Output processing device and output processing method
CN112416189A (en) Cross-page focus searching method and device and electronic equipment
CN111123883A (en) Dual-drive unmanned vehicle simulation method, device, equipment and computer readable medium
JP2015125640A (en) Car onboard electronic device, control method, and program
US11226210B2 (en) Information processing apparatus, output method, and non-transitory computer-readable recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211018

Address after: 100176 Room 101, 1st floor, building 1, yard 7, Ruihe West 2nd Road, economic and Technological Development Zone, Daxing District, Beijing

Applicant after: Apollo Intelligent Connectivity (Beijing) Technology Co., Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant before: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant