Synchronous transmission method, device and system

Through the central control screen, the data packet sending time is dynamically adjusted according to the transmission delay of the secondary screen, which solves the synchronous playback problem caused by limited server bandwidth, achieves precise synchronous playback of multiple display devices, and improves the user experience.

CN118741196APending Publication Date: 2024-10-01HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310370663.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

When multiple display devices play the same video at the same time, due to limited server bandwidth, synchronous playback cannot be guaranteed, affecting the user experience.

Method used

Through the central control screen, the time of sending data packets is dynamically adjusted according to the transmission delay between each secondary screen and the central control screen, ensuring that multiple secondary screens receive video resources accurately and synchronously, thereby achieving synchronous video playback.

Benefits of technology

It effectively solves the problem of simultaneous playback of multiple display devices under server bandwidth limitations, improves user experience, and ensures the synchronous transmission and playback of video resources on various display devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118741196A_ABST
    Figure CN118741196A_ABST
Patent Text Reader

Abstract

The invention provides a synchronous transmission method, device and system, relates to the technical field of terminals, and can ensure that a plurality of display devices synchronously receive video resources so as to synchronously play the video. The method comprises the following steps: a central control screen sends a first message to an auxiliary screen according to a first transmission time delay and a first reference time delay, updates the first transmission time delay and the first reference time delay, and sends a second message to the auxiliary screen according to the updated first transmission time delay and the updated first reference time delay. Wherein the first message comprises a first data packet, the first data packet is a part of a first data frame, the first transmission time delay is the transmission time delay between the central control screen and the secondary screens, the first reference time delay is determined according to the transmission time delays between the at least two secondary screens and the central control screen, the second message comprises a second data packet, and the first reference time delay is determined according to the transmission time delays between the at least two secondary screens and the central control screen. The second data packet is a part of the first data frame.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a synchronous transmission method, device and system. Background Art

[0002] With the development of terminal technology, the use scenarios of display devices are becoming more and more diverse. For example, multiple users want to use their respective display devices to watch the same video at the same time. Each display device requests the same video resource from the server to play the same video. However, due to the limited bandwidth resources of the server, it may not be possible to ensure that multiple display devices receive the video resource at the same time, so it is impossible to ensure that each display device plays the video synchronously, affecting the user experience. Summary of the invention

[0003] The present application provides a synchronous transmission method, device and system, which can ensure that multiple display devices receive video resources synchronously, thereby playing the video synchronously.

[0004] In order to achieve the above objectives, this application adopts the following technical solutions:

[0005] In a first aspect, a synchronous transmission method is provided, which is applied to a central control screen. The method can be executed by the central control screen, or by a component of the central control screen, such as a processor, chip, or chip system of the central control screen, or can be implemented by a logic module or software that can realize all or part of the functions of the central control screen. The method includes: sending a first message to the secondary screen according to a first transmission delay and a first reference delay, updating the first transmission delay and the first reference delay, and sending a second message to the secondary screen according to the updated first transmission delay and the updated first reference delay. Among them, the first message includes a first data packet, the first data packet is a part of the first data frame, the first transmission delay is the transmission delay between the central control screen and the secondary screen, and the first reference delay is determined based on the transmission delay between at least two secondary screens and the central control screen. The second message includes a second data packet, and the second data packet is a part of the first data frame.

[0006] Based on the method provided in the first aspect, the central control screen sends a first data frame to the secondary screen through multiple transmissions, sending one data packet each time. During the transmission process, the transmission delay and reference delay (such as the first transmission delay and the first reference delay) used when sending the data packet are dynamically adjusted. The first reference delay is determined based on the transmission delays between at least two secondary screens and the central control screen. In this way, the central control screen adjusts the time when subsequent data packets are sent to the secondary screen according to the updated first reference delay and the updated first transmission delay corresponding to the secondary screen, thereby ensuring that multiple secondary screens receive the first data frame more accurately and synchronously, thereby playing the video more accurately and synchronously.

[0007] In a possible design, before updating the first transmission delay and the first reference delay, the method provided in the first aspect may further include: determining that the difference between the first transmission delay and the second transmission delay is greater than a first threshold, wherein the second transmission delay comes from the secondary screen.

[0008] In this way, when the central control screen determines that the difference between the first transmission delay and the second transmission delay of a certain secondary screen is large, the first transmission delay and the first reference delay are updated to achieve accurate synchronous transmission.

[0009] In a possible design, the moment when the central control screen sends the first message is the first moment, and updating the first transmission delay and the first reference delay may include: receiving a third message from the secondary screen. The third message includes: a second moment and a third moment, the second moment is the moment when the secondary screen receives the first message, and the third moment is the moment when the secondary screen sends the third message. According to the first moment, the second moment, the third moment and the fourth moment, the first transmission delay and the first reference delay are updated. The fourth moment is the moment when the central control screen receives the third message.

[0010] In this way, during the transmission of video resources, the first transmission delay and the first reference delay are dynamically adjusted according to the first moment, the second moment, the third moment and the fourth moment, so as to ensure the precise synchronization of the entire video resource transmission process.

[0011] In a possible design, the first message may also include: a first transmission delay, a first clock deviation and a first moment, wherein the first clock deviation is the deviation between the clock of the central control screen and the clock of the secondary screen. For example, the first clock deviation and the first moment may be used by the secondary screen to determine the second transmission delay to determine whether to update the first transmission delay and the first reference delay.

[0012] In one possible design, the second message may also include: an updated first transmission delay, an updated first clock deviation and the time of sending the second message, and the updated first clock deviation is determined based on the updated first transmission delay.

[0013] In this way, the central control screen sends the second message to the secondary screen. The secondary screen can determine whether it is necessary to update the updated first transmission delay in the future based on the updated first clock deviation and the time of sending the second message, thereby ensuring the accurate synchronization of the entire video resource transmission process.

[0014] In a possible design, the second data packet includes a data frame identifier and sequence indication information, and the method provided in the first aspect may further include: playing the first data frame according to the first reference delay, the updated first reference delay, the data frame identifier and the sequence indication information. The data frame identifier is the identifier of the first data frame, and the sequence indication information is used to indicate that the second data packet is the last data packet in the data packet sequence corresponding to the first data frame.

[0015] In this way, when a data frame includes multiple data packets, the central control screen determines that a complete data frame is sent according to the data frame identifier and order indication information, and adjusts the time to play the data frame according to the first reference delay and the updated first reference delay, so as to achieve precise synchronous playback.

[0016] In a possible design, the method provided in the first aspect may further include: sending a fourth message to the secondary screen, wherein the fourth message includes: a data frame played by the central control screen at the fifth moment.

[0017] In this way, the secondary screen can verify whether the central control screen and the secondary screen are playing the same data frame at the same time. If they are not synchronized, the secondary screen can actively request the central control screen to update the currently used transmission delay, which can further improve the accuracy of synchronous transmission.

[0018] In a possible design, the method provided in the first aspect may further include: receiving a fifth message from the secondary screen. The fifth message is used to instruct the central control screen to update the updated first transmission delay. Update the updated first transmission delay. In this way, the central control screen updates the currently used transmission delay according to the request of the secondary screen, which can further improve the accuracy of synchronous transmission.

[0019] In one possible design, the central control screen is deployed in the vehicle and the secondary screen is deployed in the vehicle.

[0020] In a second aspect, a synchronous transmission method is provided, which is applied to a secondary screen. The method can be executed by the secondary screen, or by a component of the secondary screen, such as a processor, chip, or chip system of the secondary screen, or by a logic module or software that can realize all or part of the secondary screen functions. The method includes: receiving a first message from the central control screen, and receiving a second message from the central control screen. The first message includes a first data packet, which is a part of the first data frame. The second message includes a second data packet, which is a part of the first data frame.

[0021] In a possible design, the first message may also include a first transmission delay, a first clock deviation and a first moment. After receiving the second message from the central control screen, the method provided by the second aspect may also include: determining that the difference between the first transmission delay and the second transmission delay is greater than a first threshold. The second transmission delay is determined based on the first moment, the second moment and the first clock deviation. The first moment is the moment when the central control screen sends the first message, and the first clock deviation is the deviation between the clock of the central control screen and the clock of the secondary screen. Send a third message to the central control screen. The third message includes: a second moment and a third moment. The second moment is the moment when the secondary screen receives the first message, and the third moment is the moment when the secondary screen sends the third message.

[0022] In one possible design, the third message may also include a second transmission delay.

[0023] In a possible design, the second message may also include: an updated first transmission delay, an updated first clock deviation, and the time when the second message is sent.

[0024] In a possible design, the second data packet includes a data frame identifier and order indication information, and the method provided in the second aspect may also include: playing the first data frame according to the data frame identifier and the order indication information. The data frame identifier is the identifier of the first data frame, and the order indication information is used to indicate that the second data packet is the last data packet in the data packet sequence corresponding to the first data frame.

[0025] In a possible design, the method provided in the second aspect may further include: receiving a fourth message from the central control screen. The fourth message includes: a data frame played by the central control screen at the fifth moment. Determine whether the data frame played by the secondary screen at the sixth moment matches the data frame played by the central control screen at the fifth moment. The sixth moment is determined based on the fifth moment and the updated first clock deviation.

[0026] In a possible design, the method provided in the second aspect may further include: if the data frame played by the secondary screen at the sixth moment does not match the data frame played by the central control screen at the fifth moment, a fifth message is sent to the central control screen. The fifth message is used to instruct the central control screen to update the updated first transmission delay.

[0027] In one possible design, the central control screen is deployed in the vehicle and the secondary screen is deployed in the vehicle.

[0028] In addition, the technical effects of the method described in the second aspect can refer to the technical effects of the method described in any possible implementation method of the first aspect, and will not be repeated here.

[0029] According to a third aspect, a first device is provided, the first device comprising: a processing unit and a transceiver unit.

[0030] The transceiver unit is used to send a first message to the secondary screen according to the first transmission delay and the first reference delay. The processing unit is used to update the first transmission delay and the first reference delay. The transceiver unit is also used to send a second message to the secondary screen according to the updated first transmission delay and the updated first reference delay. The first message includes a first data packet, the first data packet is a part of the first data frame, the first transmission delay is the transmission delay between the first device and the secondary screen, and the first reference delay is determined based on the transmission delays between at least two secondary screens and the first device. The second message includes a second data packet, and the second data packet is a part of the first data frame.

[0031] In a possible design, the processing unit is further configured to determine that a difference between the first transmission delay and the second transmission delay is greater than a first threshold, wherein the second transmission delay comes from the secondary screen.

[0032] In a possible design, the transceiver unit is also used to receive a third message from the secondary screen. The third message includes: a second moment and a third moment, the second moment is the moment when the secondary screen receives the first message, and the third moment is the moment when the secondary screen sends the third message. According to the first moment, the second moment, the third moment and the fourth moment, the first transmission delay and the first reference delay are updated. The fourth moment is the moment when the first device receives the third message.

[0033] In a possible design, the first message may also include: a first transmission delay, a first clock deviation and a first moment, wherein the first clock deviation is the deviation between the clock of the first device and the clock of the secondary screen.

[0034] In one possible design, the second message may also include: an updated first transmission delay, an updated first clock deviation and the time of sending the second message, and the updated first clock deviation is determined based on the updated first transmission delay.

[0035] In a possible design, the second data packet includes a data frame identifier and order indication information, and the first device provided in the third aspect further includes a display unit. The display unit is used to play the first data frame according to the first reference delay, the updated first reference delay, the data frame identifier and the order indication information. The data frame identifier is the identifier of the first data frame, and the order indication information is used to indicate that the second data packet is the last data packet in the data packet sequence corresponding to the first data frame.

[0036] In a possible design, the transceiver unit is further used to send a fourth message to the secondary screen, wherein the fourth message includes: a data frame played by the first device at the fifth moment.

[0037] In a possible design, the transceiver unit is further used to receive a fifth message from the secondary screen, wherein the fifth message is used to instruct the first device to update the updated first transmission delay. Update the updated first transmission delay.

[0038] In one possible design, the first device is deployed in a vehicle, and the secondary screen is deployed in the vehicle.

[0039] It should be noted that the transceiver unit can be provided separately (eg, a receiving unit and a sending unit), or can be integrated into one module, namely, the transceiver unit. The present application does not specifically limit the specific implementation of the transceiver unit.

[0040] Optionally, the first device described in the third aspect may further include a storage unit, wherein the storage unit stores a program or an instruction. When the processing unit executes the program or the instruction, the first device described in the third aspect may execute the method described in the first aspect.

[0041] It should be noted that the first device described in the third aspect may be a central control screen, etc., or may be a chip (system) or other parts or components that can be set on the first device and other devices, and this application does not limit this.

[0042] In addition, the technical effects of the first device described in the third aspect can refer to the technical effects of the method described in any possible implementation method of the first aspect, and will not be repeated here.

[0043] In a fourth aspect, a second device is provided, the second device comprising: a transceiver unit and a transmission unit.

[0044] The transceiver unit is used to receive a first message from the central control screen. The transmission unit receives a second message from the central control screen. The first message includes a first data packet, which is a part of the first data frame. The second message includes a second data packet, which is a part of the first data frame.

[0045] In a possible design, the first message may also include a first transmission delay, a first clock deviation and a first moment, and the second device provided in the fourth aspect also includes a processing unit. The processing unit is used to determine that the difference between the first transmission delay and the second transmission delay is greater than the first threshold. Among them, the second transmission delay is determined based on the first moment, the second moment and the first clock deviation, the first moment is the moment when the central control screen sends the first message, and the first clock deviation is the deviation between the clock of the central control screen and the clock of the second device. Send a third message to the central control screen. Among them, the third message includes: a second moment and a third moment, the second moment is the moment when the second device receives the first message, and the third moment is the moment when the second device sends the third message.

[0046] In one possible design, the third message may also include a second transmission delay.

[0047] In a possible design, the second message may also include: an updated first transmission delay, an updated first clock deviation, and the time when the second message is sent.

[0048] In a possible design, the second data packet includes a data frame identifier and order indication information, and the second device provided in the fourth aspect further includes a display unit. The display unit is used to play the first data frame according to the data frame identifier and the order indication information. The data frame identifier is the identifier of the first data frame, and the order indication information is used to indicate that the second data packet is the last data packet in the data packet sequence corresponding to the first data frame.

[0049] In a possible design, the transceiver unit is further used to receive a fourth message from the central control screen. The fourth message includes: a data frame played by the central control screen at a fifth moment. The processing unit is further used to determine whether the data frame played by the second device at a sixth moment matches the data frame played by the central control screen at a fifth moment. The sixth moment is determined based on the fifth moment and the updated first clock deviation.

[0050] In a possible design, the transceiver unit is further used to send a fifth message to the central control screen if the data frame played by the second device at the sixth moment does not match the data frame played by the central control screen at the fifth moment. The fifth message is used to instruct the central control screen to update the updated first transmission delay.

[0051] In one possible design, the central control screen is deployed in the vehicle, and the second device is deployed in the vehicle.

[0052] It should be noted that the transceiver unit can be separately provided (e.g., a receiving unit and a transmitting unit), or can be integrated into one module, namely, the transceiver unit. The transceiver unit and the transmission unit can be the same unit (or the same module) or different units, and the present application does not specifically limit the specific implementation of the transceiver unit and the transmission unit.

[0053] Optionally, the second device described in the fourth aspect may further include a storage unit, wherein the storage unit stores a program or an instruction. When the processing unit executes the program or the instruction, the second device described in the fourth aspect may execute the method described in the second aspect.

[0054] It should be noted that the second device described in the fourth aspect can be a secondary screen, etc., or it can be a chip (system) or other parts or components that can be set in a second device or other device, and this application does not limit this.

[0055] In addition, the technical effects of the second device described in the fourth aspect can refer to the technical effects of the method described in any possible implementation method of the second aspect, and will not be repeated here.

[0056] In a fifth aspect, a first device is provided, the first device comprising: one or more processors; one or more memories; the memories storing one or more programs, when the one or more programs are executed by the one or more processors, the first device executes the method in any possible implementation manner of the first aspect. Optionally, the first device may also include a display screen.

[0057] In a sixth aspect, a second device is provided, the second device comprising: one or more processors; one or more memories; the memories storing one or more programs, when the one or more programs are executed by the one or more processors, the second device executes the method in any possible implementation of the second aspect. Optionally, the second device may also include a display screen.

[0058] In the seventh aspect, an embodiment of the present application provides a circuit system, the circuit system includes a processing circuit, and the processing circuit is configured to execute a method as any one of the embodiments in the first aspect; or, the processing circuit is configured to execute a method as any one of the embodiments in the second aspect.

[0059] In an eighth aspect, a communication system is provided, the communication system comprising the first device as described in the third aspect, and the second device as described in the fourth aspect. Alternatively, the communication system comprises the central control screen as described in the third aspect for implementing the method as described in the first aspect, and the secondary screen as described in the fourth aspect for implementing the method as described in the second aspect. Optionally, the number of secondary screens may be one or more.

[0060] In a ninth aspect, a readable storage medium is provided, which includes a program. When the program runs on a device, the device executes a method in any possible implementation of the first aspect or the second aspect.

[0061] In a tenth aspect, a chip system is provided, the chip system comprising a processor and a memory, wherein a program is stored in the memory; when the program is executed by the processor, the processor implements the method in any possible implementation of the first aspect or the second aspect. The chip system may be composed of a chip, or may include a chip and other discrete devices.

[0062] In an eleventh aspect, a program product is provided. When the program product is run on a computer or a device, the computer or the device implements the method in any possible implementation manner of the first aspect or the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1A A schematic diagram of a communication system provided in an embodiment of the present application;

[0064] Figure 1B A schematic diagram of another communication system provided in an embodiment of the present application;

[0065] Figure 2 A schematic diagram of the hardware structure of a central control screen and a secondary screen provided in an embodiment of the present application;

[0066] Figure 3 A software structure block diagram of a central control screen and a secondary screen provided in an embodiment of the present application;

[0067] Figure 4 A schematic diagram of a synchronous transmission method provided in an embodiment of the present application;

[0068] Figure 5 A schematic diagram of a scenario provided for an embodiment of the present application;

[0069] Figure 6 A flowchart of another synchronous transmission method provided in an embodiment of the present application;

[0070] Figure 7 A schematic diagram of the structure of a device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0071] The technical solutions in the embodiments of the present application are described below in conjunction with the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to include expressions such as "one or more", unless there is a clear indication to the contrary in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two).

[0072] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.

[0073] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0074] In some scenarios, more and more display screens are deployed in the car, such as the central control screen, the display screen in front of the co-pilot, and the display screen in front of the back row. These display screens are connected to the server for communication. After the display screen in the car detects that the user instructs multiple display screens in the car to play Video 1 at the same time, the multiple display screens in the car request the resources of Video 1 from the server respectively and play them. Due to the limited bandwidth resources of the server, it may not be possible to ensure that multiple display screens receive the resources of Video 1 at the same time, and it is impossible to ensure synchronous playback of Video 1.

[0075] In this regard, the embodiment of the present application provides a synchronous transmission method, where the central control screen obtains video resources from the server, and controls the time of sending video resources to each secondary screen according to the transmission delay between each secondary screen and the central control screen, so that the same video resource reaches each secondary screen at the same time, so that the central control screen and each secondary screen can play the video synchronously, improving the user experience. In this application, the secondary screen and the rear screen are collectively referred to as secondary screens.

[0076] For example, Figure 1A A schematic diagram of a communication system to which a synchronous transmission method is applied according to an embodiment of the present application.

[0077] The synchronous transmission method provided in the embodiment of the present application is applied to a communication system such as Figure 1A As shown, the communication system includes: a central control screen 100 and at least one secondary screen 200, Figure 1ATake the car computer system as an example.

[0078] The central control screen 100 may be a display screen arranged on the center console of the vehicle, and the central control screen 100 may control the secondary screen 200, and the central control screen 100 has computing capability. The operating system installed on the central control screen 100 includes but is not limited to Or other operating systems.

[0079] The secondary screen 200 can be a display screen in the vehicle other than the central control screen 100. The secondary screen 200 is controlled by the central control screen 100, and the secondary screen 200 can also have certain computing capabilities. For example, the secondary screen 200 can be a display screen in front of the passenger on the front passenger seat (also called a front passenger screen), a display screen in front of the left rear passenger (also called a rear screen), or a display screen in front of the right rear passenger (also called a rear screen), etc. Optionally, the secondary screen 200 can be fixed to the vehicle or detachable. For example, after getting in the vehicle, the left rear passenger can put a tablet computer in the placement position of the rear screen, and the tablet computer plays the video synchronously with the central control screen, and takes out the tablet computer when getting off the vehicle. The operating system installed on the secondary screen 200 includes but is not limited to Or other operating systems.

[0080] In some examples, the embodiments of the present application provide a synchronous transmission method that can be applied to scenarios that require synchronous transmission, synchronous display, and / or synchronous playback, such as scenarios where the same video or the same audio content is played synchronously between multiple devices. For example, the central control screen 100 and the secondary screen 200 can be deployed in a car, an airplane, indoors, or outdoors. Optionally, the secondary screen 200 can be fixed or detachable. For example, the secondary screen 200 can be a mobile phone, a tablet computer, a laptop computer, a netbook, a television, a smart display, a smart screen, and other devices. The present application does not limit the specific types of the central control screen 100 and the secondary screen 200, nor the installed operating systems.

[0081] Optionally, the central control screen 100 and the secondary screen 200 can establish a communication connection through wired or wireless communication technology. Among them, the wired communication technology includes but is not limited to at least one of the following: high-speed serial computer expansion bus standard (peripheral component interconnect express, PCIE), and Ethernet, etc. Wireless communication technology includes but is not limited to at least one of the following: near field communication (NFC), Bluetooth (bluetooth, BT) (for example, traditional Bluetooth or low-power Bluetooth (bluetooth low energy, BLE)), wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (wireless fidelity, Wi-Fi) network), Zigbee, frequency modulation (frequency modulation, FM), infrared (infrared, IR), ultra-wideband (ultrawideband, UWB), etc.

[0082] In some embodiments, both the central control screen 100 and the secondary screen 200 support the proximity discovery function. For example, when the central control screen 100 is close to the secondary screen 200, the central control screen 100 and the secondary screen 200 can discover each other, and then establish a wireless communication connection such as a Wi-Fi peer to peer (P2P) connection, a Bluetooth connection, a UWB connection, etc., and can also establish a wireless communication connection supported by future connection technologies.

[0083] Optionally, the central control screen 100 and the secondary screen 200 establish a wireless communication connection through a local area network. For example, the central control screen 100 and the secondary screen 200 are connected to the same router, and can discover each other and establish a wireless communication connection.

[0084] Optionally, the central control screen 100 and the secondary screen 200 can also establish a communication connection through a third-party device in the local area network, such as a router, a gateway, a smart device controller, a server (such as a local server or a cloud server), a wireless access point (AP) device, a remote communication terminal (telematics box, TBOX), etc.

[0085] In one example, the communication system also includes a routing device (such as a router). The routing device is used to connect to a local area network or the Internet. Exemplarily, one or more routers are deployed in a car or indoors to form a local area network, or to access a local area network or the Internet. The central control screen 100 or the secondary screen 200 accesses the router, and transmits data with devices in the local area network or devices on the Internet through the Wi-Fi channel established by the router. Alternatively, the secondary screen 200 transmits data with the central control screen 100 by accessing the soft wireless access point (SoftAP) hotspot provided by the central control screen 100.

[0086] In one example, the communication system further includes a server (eg, a local server and / or a cloud server). For example, the server can be used to store resources, and the central control screen 100 and the secondary screen 200 can obtain audio and video resources from the server.

[0087] Taking the method provided in this application as an example, the method is applied to a vehicle system. Figure 1B As shown, the vehicle system includes a central control screen, a co-pilot screen, rear screens 1 to 4, and may also include TBOX.

[0088] Among them, the co-pilot screen and the central control screen can establish a communication connection through wired communication technology, and the rear screens 1 to 4 are connected to the SoftAP hotspot provided by the central control screen. The Internet protocol (IP) addresses assigned to the central control screen, co-pilot screen, and rear screens 1 to 4 are in the same network segment. TBOX is used to provide vehicle network services. The central control screen establishes a wired communication connection with TBOX. The central control screen can access the network through TBOX and obtain resources from the server.

[0089] Optionally, the secondary screen can be fixed to the vehicle or detachable. For example, the rear screen 1 can be fixed to the vehicle or detachable. The central control screen, the secondary driver screen, and the rear screens 1 to 4 form an in-vehicle local area network through wired or wireless communication technology, and these display devices can communicate with each other.

[0090] Figure 1B This is only an example of a vehicle system provided in this application. This application does not limit the number of display devices in the vehicle system, the connection method between display devices, etc. For example, some rear screens and the central control screen establish communication connections through wireless communication technology, and other rear screens and the central control screen establish communication connections through wired communication technology.

[0091] The above contents are only some descriptions of the synchronous transmission method provided in the embodiment of the present application. It should be noted that in each example or each optional manner described above, any content can be freely combined, and the combined content is also within the scope of the present application.

[0092] Figure 2 A schematic diagram of the hardware structure of the central control screen and the secondary screen provided in an embodiment of the present application.

[0093] like Figure 2 As shown, the central control screen and the sub-screen may include a processor 210, a memory 220, a power module 230, a display screen 240, a wireless communication module 250, an audio module 260, a speaker 260A, a receiver 260B, a microphone 260C, a headphone jack 260D, a sensor module 270, and a camera 280, etc.

[0094] It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the central control screen and the secondary screen. In other embodiments of the present application, the central control screen and the secondary screen may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware. In addition, Figure 2 The interface connection relationship between the modules shown is only a schematic illustration and does not constitute a structural limitation on the central control screen and the secondary screen. Figure 2 Different interface connection methods, or a combination of multiple interface connection methods.

[0095] The processor 210 may include one or more processing units, for example, the processor 210 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0096] The controller can be the nerve center and command center of the central control screen or the secondary screen. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.

[0097] The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may store instructions or data that the processor 210 has just used or cyclically used. If the processor 210 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.

[0098] In some embodiments, the processor 210 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM interface, and / or a universal serial bus (USB) interface, etc.

[0099] The memory 220 can be used to store executable program codes, which include instructions. For example, the memory 220 can also store data processed by the processor 210. In addition, the memory 220 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, etc. The processor 210 executes various functional applications and data processing of the central control screen or the secondary screen by running instructions stored in the memory 220 and / or instructions stored in a memory provided in the processor.

[0100] The power module 230 is used to supply power to various components of the central control screen or the auxiliary screen, such as the processor 210, the memory 220, etc.

[0101] The display screen 240 is used to display images, videos, etc. The display screen 240 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. For example, in an embodiment of the present application, the display screen 240 can be used to display a display interface, a sharing interface, a file transfer interface, etc. of a gallery.

[0102] The central control screen or the secondary screen realizes the display function through the GPU, the display screen 240, and the application processor. The GPU is a microprocessor for image processing, connecting the display screen 240 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or change display information.

[0103] The wireless communication module 250 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), ZigBee, etc., which are applied to the central control screen or the secondary screen. The wireless communication module 250 can be one or more devices integrating at least one communication processing module. The wireless communication module 250 receives electromagnetic waves via an antenna, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210. The wireless communication module 250 can also receive the signal to be sent from the processor 210, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna.

[0104] The central control screen or the secondary screen can realize audio functions such as audio playback and recording through the audio module 260, the speaker 260A, the receiver 260B, the microphone 260C, and the application processor.

[0105] The audio module 260 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 260 can also be used to encode and decode audio signals. In some embodiments, the audio module 260 can be arranged in the processor 210, or some functional modules of the audio module 260 can be arranged in the processor 210.

[0106] The speaker 260A, also called a "speaker", is used to convert the audio electrical signal into a sound signal. The central control screen or the secondary screen can listen to the audio through the speaker 260A.

[0107] The receiver 260B, also called a "handset", is used to convert audio electrical signals into sound signals.

[0108] The microphone 260C, also called a "microphone" or "microphone", is used to convert a sound signal into an electrical signal. A user can make a sound by approaching the microphone 260C with his or her mouth, and input the sound signal into the microphone 260C.

[0109] The sensor module 270 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.

[0110] The camera 280 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format.

[0111] It is understandable that the above is only an example of the structure of the central control screen and the secondary screen in the embodiment of the present application, but does not constitute a limitation on the structure and form of the central control screen and the secondary screen. The embodiment of the present application does not limit the structure and form of the central control screen and the secondary screen.

[0112] Exemplarily, the software architecture of the terminal may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture, etc. Figure 3 A software structure block diagram of a central control screen and a secondary screen provided in an embodiment of the present application is shown.

[0113] like Figure 3 As shown in (a), the central control screen includes but is not limited to one or more of the following software modules: a networking module 301a and a screen projection module 302a.

[0114] The networking module 301a is used to discover devices, perform device authentication, connect and transmit resources, etc.

[0115] Optionally, the networking module 301a includes one or more of the following: a discovery module a, an authentication module a, a connection module a and a transmission module a.

[0116] Among them, the discovery module a is used to realize the device discovery and discovery capability of the central control screen. For example, the discovery module a can be used for the central control screen to actively discover or passively discover the secondary screen.

[0117] Authentication module a is used to authenticate discovered devices to ensure communication security, such as authenticating the secondary screen.

[0118] Connection module a is used to establish a communication connection between the central control screen and the network and / or the secondary screen.

[0119] Transmission module a is used to enable the central control screen to obtain or send audio and video resources, transmit interactive information, etc. For example, transmission module a is used to enable the central control screen to obtain audio and video resources from the server, or the local server, or the mirror resources of the local video application, and send them to the secondary screen, and is also used to enable the central control screen to transmit interactive information with the server or the secondary screen.

[0120] The screen projection module 302a is used to obtain resources and play them, and transmit the resources to the secondary screen, etc.

[0121] Optionally, the screen projection module 302a includes one or more of the following: a resource acquisition module a, a rendering and synchronization module a, a reverse control module a, a connection discovery management module a and a network session management module a.

[0122] Among them, the resource acquisition module a is used to enable the central control screen to obtain resources, such as audio and video resources, from the server, or the local server, or the mirror resources of the local video application.

[0123] Rendering and synchronization module a is used to enable the central control screen to render resources and play them synchronously with the secondary screen.

[0124] The reverse control module a is used to adjust the overall playback or display status according to the reverse control signal of the secondary screen, such as controlling the playback progress, volume, and clarity of the secondary screen by adjusting its own playback progress, volume, and clarity.

[0125] The discovery connection management module a is used to enable the central control screen to discover the secondary screen that can be used for screen projection, and manage the discovery and underlying connection with the secondary screen.

[0126] The network session management module a is used to provide the ability to create a network between the central control screen and the secondary screen, send, receive and resolve network congestion, control management strategies, and disconnect communication connections.

[0127] like Figure 3 As shown in (b), the secondary screen includes but is not limited to one or more of the following software modules: a networking module 301b and a screen projection module 302b.

[0128] The networking module 301b is used to discover devices, perform device authentication, and connect and transmit resources.

[0129] Optionally, the networking module 301b includes one or more of the following: a discovery module b, an authentication module b, a connection module b and a transmission module b.

[0130] Among them, the discovery module b is used to realize the device discovery and discovery capability of the secondary screen. For example, the discovery module b can be used to discover the central control screen and other secondary screens, or actively send local device information to be discovered by the central control screen or other secondary screens.

[0131] Authentication module b is used to authenticate discovered devices to ensure the security of communications, such as authenticating the central control screen.

[0132] The connection module b is used to establish a communication connection between the secondary screen and the network or the central control screen.

[0133] The transmission module b is used to enable the secondary screen to obtain or send audio and video resources, transmit interactive information, etc. For example, the transmission module b is used to enable the secondary screen to receive audio and video resources from the central control screen, and transmit interactive information with the central control screen.

[0134] The screen projection module 302b is used to receive resources from the (authenticated) central control screen and render and play them.

[0135] Optionally, the screen projection module 302b includes one or more of the following: a resource acquisition module b, a rendering and synchronization module b, a reverse control module b, a connection discovery management module b and a network session management module b.

[0136] Among them, the resource acquisition module b is used to enable the secondary screen to obtain resources, such as audio and video resources, from the local, central control screen or server.

[0137] The rendering and synchronization module b is used to enable the secondary screen to render resources and play them synchronously with the central control screen and other secondary screens.

[0138] The reverse control module b is used to enable the secondary screen to control the playback or display status of the central control screen, such as controlling the playback progress, volume, and clarity of the central control screen by adjusting its own playback progress, volume, and clarity.

[0139] The connection management module b is discovered, and is used to enable the secondary screen to discover the secondary screen that can perform screen projection.

[0140] The network session management module b is used to manage the network sessions of the secondary screen, for example, the network session between the secondary screen and the server, the network session between the secondary screen and the central control screen, and the network session between the secondary screens.

[0141] Exemplarily, taking the central control screen and the secondary screen of the Android system including a layered architecture as an example, the operating system of the central control screen and the secondary screen may include an application layer, an application framework layer, a system library, an Android runtime and a kernel layer. For example, the above-mentioned networking module 301a and the screen projection module 302a may be located in the application framework layer of the operating system of the central control screen, and the first application may be located in the application layer of the operating system of the central control screen. The networking module 301b and the screen projection module 302b may be located in the application framework layer of the operating system of the secondary screen, and the first application may be located in the application layer of the operating system of the secondary screen. Users can watch movies through the applications (such as the first application) on the central control screen and the secondary screen, and the first application can be any application (or browser) that supports playing movies, etc.

[0142] Among them, the application framework layer can provide an application programming interface (API) and a programming framework for the application programs of the application layer. For a detailed introduction to the operating system and each layer (such as the application layer, application framework layer, system library, Android runtime and kernel layer of the Android system, etc.), please refer to the explanations and descriptions in the conventional technology, and the embodiments of this application will not be repeated.

[0143] Understandably, Figure 3 The software modules included in the central control screen and the secondary screen shown are only used as a possible division method. They may also include more or fewer modules, or there may be other division methods, which are not limited in this application.

[0144] The technical solutions involved in the following embodiments can all be implemented in Figure 2 and / or Figure 3 The invention is implemented in the device of the structure shown.

[0145] It is understandable that in the embodiment of the present application, the central control screen and the secondary screen can perform some or all of the steps in the embodiment of the present application, and these steps or operations are only examples. The embodiment of the present application can also perform other operations or variations of various operations. In addition, the various steps can be performed in different orders presented in the embodiment of the present application, and it is possible that not all operations in the embodiment of the present application need to be performed.

[0146] The following will be combined Figure 4-Figure 6 The synchronous transmission method provided in the embodiment of the present application is specifically explained.

[0147] For example, Figure 4 A schematic diagram of a synchronous transmission method provided in an embodiment of the present application. The method provided in an embodiment of the present application is applicable to scenarios requiring synchronous transmission, synchronous display, and / or synchronous playback. Figure 4 The following example describes how to share a video from the central control screen to the secondary screen and play the video synchronously.

[0148] like Figure 4 As shown, the method includes the following steps.

[0149] S401, the central control screen interacts with the secondary screen to determine a first transmission delay and a first clock deviation.

[0150] Exemplarily, the first transmission delay is the transmission delay between the central control screen and the secondary screen. For example, when the central control screen sends data to the secondary screen, the time required for the data to be transmitted from the central control screen to the secondary screen.

[0151] Exemplarily, the first clock deviation is the deviation between the clock of the central control screen and the clock of the secondary screen.

[0152] Exemplarily, the central control screen can determine the transmission delay and clock deviation between the central control screen and each secondary screen it discovers. For example, the first transmission delay and the first clock deviation can be obtained during the connection establishment process between the central control screen and the secondary screen. Determining the clock detection and clock deviation during the connection establishment process can make the calculation results real-time and more accurate.

[0153] Combination Figure 1B , the secondary screen can be the secondary driver screen, rear screen 1, rear screen 2, rear screen 3, or rear screen 4. The central control screen interacts with the secondary driver screen to determine the transmission delay and clock deviation between the central control screen and the secondary driver screen, such as the first transmission delay 0 and the first clock deviation 0. The central control screen interacts with the rear screen 1 to determine the transmission delay and clock deviation between the central control screen and the rear screen 1, such as the first transmission delay 1 and the first clock deviation 1. Similarly, the first transmission delay 2 and the first clock deviation 2, the first transmission delay 3 and the first clock deviation 3, and the first transmission delay 4 and the first clock deviation 4 are determined.

[0154] Combination Figure 3The networking module 301a of the central control screen interacts with the networking module 301b of the secondary screen to determine the first transmission delay and the first clock deviation.

[0155] In some embodiments, the central control screen determines a reference transmission delay based on N first transmission delays.

[0156] Exemplarily, the central control screen determines the reference transmission delay based on the first transmission delays corresponding to the N secondary screens.

[0157] Combination Figure 1B , the reference transmission delay may be equal to the average of the first transmission delays corresponding to the co-pilot screen, rear screens 1 to 4. Alternatively, the reference transmission delay is greater than or equal to the first transmission delay with the largest value among the first transmission delays corresponding to the co-pilot screen, rear screens 1 to 4.

[0158] Optionally, N is an integer greater than 0, and the N first transmission delays may include the first transmission delays corresponding to some or all of the secondary screens in the system.

[0159] Exemplarily, the central control screen determines the reference transmission delay based on the average value of the N first transmission delays. If the first transmission delay corresponding to a certain secondary screen among the N secondary screens differs greatly from the average value of the N first transmission delays, for example, greater than a specific threshold, there may be a problem with the communication connection between the secondary screen and the central control screen, such as poor network quality. In this case, the first transmission delay of the secondary screen is not used to determine the reference transmission delay, which can improve the accuracy of synchronous transmission.

[0160] Optionally, the reference transmission delay is used by the central control screen to determine the time when the central control screen plays the video and the time when the central control screen sends resources to the secondary screen.

[0161] For example, after the central control screen sends the first video frame resource to multiple secondary screens through multicast, it plays the first video frame at intervals of the reference transmission delay. During the reference transmission delay period, multiple secondary screens all receive the video frame resource, and multiple secondary screens receive and play the video frame. In this way, the video can be played synchronously between the central control screen and multiple secondary screens.

[0162] In some embodiments, if the first clock deviation corresponding to a certain slave screen among the N slave screens is significantly different from the average value of the N first clock deviations, for example, greater than a specific threshold, the slave screen may need to perform clock calibration. The central control screen instructs the slave screen to perform clock calibration, which can improve the accuracy of subsequent slave screens in checking the first transmission delay based on the first clock deviation, as well as the accuracy of synchronous playback.

[0163] S402, the central control screen sends a first message to the secondary screen.

[0164] Exemplarily, the first message includes one or more of the following: first data, first transmission delay, first clock deviation and first time. For example, the first message includes first data, first clock deviation and first time, and may also include first transmission delay.

[0165] Optionally, the first message may also be referred to as a first message.

[0166] Exemplarily, the central control screen can send data or transmission delay, etc. to the secondary screen, and can also send transmission delay, etc. when sending data.

[0167] Optionally, the first message may be used to indicate that the secondary screen verifies the first transmission delay. For example, the first message including the first clock deviation and the first time is used to indicate that the secondary screen verifies the first transmission delay.

[0168] Optionally, the secondary screen may periodically check the first transmission delay, and the first transmission delay, the first clock deviation and the first moment may be sent periodically. For example, the central control screen transmits video resources to the secondary screen by sending multiple messages, and the multiple messages periodically include the first data, the first clock deviation and the first moment (and may also include the first transmission delay). For example, some messages include the first data, the first clock deviation and the first moment (and may also include the first transmission delay), and some messages include the first data but do not include the first clock deviation and the first moment. In this way, the first transmission delay can be checked to improve accuracy, and frequent checking of the first transmission delay can be avoided to avoid wasting power consumption, thereby improving transmission efficiency. In addition, during the data transmission process, the first transmission delay can be instructed to be checked, and the first transmission delay can be dynamically adjusted to ensure synchronous transmission, thereby ensuring synchronous playback.

[0169] Optionally, the first data may be a data frame, or may be a part of a data frame (such as the first data frame). The data frame may be a video frame, a voice frame, or an audio and video frame.

[0170] For example, a data frame is split into multiple data packets, and the multiple data packets are data sequences with a chronological order, and the data sequences constitute a data frame, and the first data is a data packet in the multiple data packets. In other words, the data frame can be split into multiple data packets, and one of the data packets is sent each time. Figure 5 As shown, a data frame is split into 5 data packets. The central control screen sends data packet 1 to each secondary screen, and then sends data packet 2, until data packet 5 is sent, completing the transmission of a data frame.

[0171] Optionally, the first data includes a data frame identifier and first indication information, the data frame identifier is an identifier of the data frame to which the first data belongs, and the first indication information is used to indicate the order of the first data in a data sequence (also referred to as a data packet sequence) corresponding to the data frame (the data frame corresponding to the data frame identifier), such as the first indication information is used to indicate that the first data is the first data packet or the last data packet in the data packet sequence corresponding to the data frame. For example, the first indication information includes a first identifier, and the first identifier is a sequence number of the first data in a data sequence corresponding to the data frame (the data frame corresponding to the data frame identifier). In this way, when playing the video subsequently, the central control screen and each secondary screen can parse the data and play it according to the data frame identifier and the first indication information.

[0172] Optionally, the first indication information may also be called order indication information.

[0173] Optionally, the central control screen can split a data frame into multiple data packets, or the server can split a data frame into multiple data packets and then send them to the central control screen. For example, before the central control screen sends the first message to the secondary screen, the central control screen obtains resources from the server, and the server can send a data frame or a data packet to the central control screen each time.

[0174] It should be noted that in the present application, the server can be a single server, or a server cluster consisting of multiple servers, or a cloud computing service center. The server used to store resources in the present application and the server used to split a data frame into multiple data packets can be the same server or different servers. The server is used as an example for explanation in the embodiments of the present application.

[0175] Exemplarily, the central control screen or the server may split the data frame into multiple data packets according to the maximum transmission unit (MTU), which may reduce the number of unpackings.

[0176] In some embodiments, before the central control screen sends the first message to the secondary screen, the central control screen and / or the secondary screen obtains the number of data packets into which a data frame is split.

[0177] Exemplarily, the server determines the number of data packets into which a data frame is split and notifies the central control screen and / or the secondary screen. Alternatively, the central control screen and the secondary screen negotiate to determine the number of data packets into which a data frame is split. For example, before the central control screen sends a first message to the secondary screen, such as during the connection establishment process, the central control screen negotiates with the secondary screen to determine the number of data packets into which a data frame is split.

[0178] Optionally, the first moment is the moment when the central control screen sends the first message to the secondary screen.

[0179] In some embodiments, the above S401 includes: the central control screen sends a first message to the secondary screen according to the first transmission delay corresponding to the N secondary screens. Exemplarily, the central control screen sends the first message to the secondary screen according to the first transmission delay corresponding to the secondary screen and the reference transmission delay.

[0180] Optionally, the reference transmission delay may be referred to as a first reference delay.

[0181] Optionally, if the first transmission delay corresponding to a certain slave screen among the N slave screens differs greatly from the average value of the N first transmission delays, for example, greater than a specific threshold, the first message will not be sent to the slave screen. The central control screen can continue to detect and determine that the difference (absolute value of the difference) between the first transmission delay corresponding to the slave screen and the average value of the N first transmission delays is less than or equal to a specific threshold before sending the first message to the slave screen.

[0182] For example, taking the reference transmission delay as the first transmission delay with the largest value among N first transmission delays as an example, combined with Figure 1B For the secondary screen 1, the central control screen first sends the first message to the secondary screen with the largest first transmission delay value, and then sends the first message corresponding to the secondary screen 1 after a period of time (for example, roughly equal to the largest first transmission delay minus the first transmission delay corresponding to the secondary screen 1). In this way, it is possible to send video resources to the secondary screen with a larger transmission delay first, and then to the secondary screen with a smaller transmission delay, so that the same video resources can reach different secondary screen devices at the same time, thereby achieving synchronous transmission.

[0183] In this way, the central control screen controls the moment of sending the first message through the first transmission delay between different secondary screens and the central control screen, so that the secondary screens can receive the video resources at the same time, thereby realizing synchronous video playback.

[0184] Exemplarily, when the first data is a data packet in a data frame, the central control screen sends the first data to the N secondary screens in sequence according to the first transmission delays corresponding to the N secondary screens. In this way, the same data packet can reach the N secondary screens at the same time, so that the same data frame can reach the N secondary screens at the same time, realizing synchronous transmission.

[0185] Combination Figure 3 , the projection module 302a of the central control screen sends the first data to the networking module 301a of the central control screen, and the networking module 301a of the central control screen sends the first message to the networking module 301b of the secondary screen.

[0186] In some embodiments, the central control screen sends the first message to the secondary screen, including: the central control screen sends the first message to the secondary screen according to the operation of projecting the screen to one or more secondary screens performed by the user on the first interface.

[0187] Exemplary, combined Figure 1B, when the central control screen detects that the user has performed an operation of projecting the screen to the rear screen 1 and the rear screen 2 on the first interface of the central control screen, a first message 1 is sent to the rear screen 1, and a first message 2 is sent to the rear screen 2. The first message 1 and the first message 2 include the same first data, so that the user of the central control screen, the user of the rear screen 1, and the user of the rear screen 2 can watch the same video at the same time.

[0188] For example, combined with Figure 1B , the user's operation of projecting the screen to the co-pilot screen on the first interface of the central control screen can be performed by the user sliding and touching from left to right on the first interface of the central control screen. The user's operation of projecting the screen to the rear screen on the first interface of the central control screen can be performed by the user sliding and touching from top to bottom on the first interface of the central control screen.

[0189] Optionally, the secondary screen can exit screen projection according to the user's operation of exiting screen projection in the second interface of the secondary screen, or join screen projection according to the user's operation of joining screen projection in the second interface, so the user can join in watching videos at any time.

[0190] S403, the secondary screen determines the second transmission delay according to the first moment, the second moment and the first clock deviation.

[0191] Exemplarily, the second moment is the moment when the secondary screen receives or receives the first message.

[0192] For example, the second transmission delay=the second time point-the first time point-the first clock deviation.

[0193] In some embodiments, the types of data frames include but are not limited to: I frames and P frames. The secondary screen can determine the transmission delays of I frames and P frames respectively according to the first moment, the second moment and the first clock deviation, and determine the second transmission delay according to the transmission delay of the I frame and the transmission delay of the P frame.

[0194] Exemplarily, the second moment 1 is the moment when the secondary screen receives or receives the I frame, the second moment 2 is the moment when the secondary screen receives or receives the P frame, the transmission delay of the I frame = the second moment 1 - the first moment - the first clock deviation, the transmission delay of the P frame = the second moment 2 - the first moment - the first clock deviation, the second transmission delay = (the transmission delay of the I frame and the transmission delay of the P frame) / 2.

[0195] For example, taking the data frame as a video frame, an I frame refers to a complete picture, and an I frame can be decoded without referring to any frame. A P frame refers to a forward reference frame, and it is necessary to refer to the picture of the previous frame to be correctly decoded. For the specific introduction of I frames and P frames, please refer to the explanations and descriptions in the conventional technology, and the embodiments of this application will not be repeated.

[0196] In some embodiments, the secondary screen can use the second transmission delay to verify the first transmission delay. If the difference between the first transmission delay and the second transmission delay is within a certain range, the verification passes. Otherwise, the verification fails, and the first transmission delay is no longer accurate for the current network status. For example, as time changes, the network quality changes, and thus the transmission delay changes.

[0197] For example, the difference between the first transmission delay and the second transmission delay within a certain range may mean that the absolute value of the difference between the first transmission delay and the second transmission delay is less than or equal to a first threshold, and the difference between the first transmission delay and the second transmission delay is too large may mean that the absolute value of the difference between the first transmission delay and the second transmission delay is greater than the first threshold.

[0198] In some embodiments, the secondary screen can periodically determine the second transmission delay, or periodically check the first transmission delay between the secondary screen and the central control screen, so as to avoid frequent determination of the transmission delay and waste of power consumption.

[0199] In some embodiments, taking the first data as a data packet in a data frame as an example, in combination with Figure 5 , for the rear screen 1, message 1 includes data packet 1, and then sends message 2, message 2 includes data packet 2, message 3 includes data packet 3, message 4 includes data packet 4, time (time of sending message 4) and first clock deviation 1, and the rear screen 1 determines the second transmission delay 1 according to the first time, the first time, the second time (time of receiving message 4) and the first clock deviation 1. Message 4 can also include the first transmission delay 1, and the rear screen 1 determines whether the verification is passed according to the second transmission delay 1 and the first transmission delay 1.

[0200] Combination Figure 3 The networking module 301b of the secondary screen determines the second transmission delay according to the first moment, the second moment and the first clock deviation.

[0201] In some embodiments, in combination Figure 3 After receiving the first clock deviation, the networking module 301b of the secondary screen sends the first clock deviation to the screen projection module 302b of the secondary screen. The screen projection module 302b of the secondary screen can determine whether the secondary screen plays the video synchronously with other display devices according to the first clock deviation.

[0202] In some embodiments, the secondary screen determines whether to process the first data based on the first delay and the data frame playback delay.

[0203] Exemplarily, the first delay is the delay between the sending time of the first data packet in a data frame and the receiving time of the nth data packet in the data frame, where n is an integer greater than 0 and less than or equal to N. Figure 5Taking the co-pilot screen as an example, after the co-pilot screen receives data packet 4, the first delay is the delay between the time when the central control screen sends data packet 1 to the co-pilot screen and the time when the co-pilot screen receives data packet 4.

[0204] For example, if the first delay is greater than the data frame playback delay, the secondary screen determines not to process the first data, discards the data frame, and reduces the secondary screen freeze time. If the first delay is less than or equal to the data frame playback delay, the secondary screen determines to process the first data.

[0205] Exemplarily, the data frame playback delay is the delay (for example, the maximum delay) that the secondary screen waits for a data frame. When the secondary screen does not receive a complete data frame within the data frame playback delay, the data frame is discarded, and the received data of the data frame is not processed (for example, the bottom layer of the secondary screen does not transmit the data of the data frame to the upper layer of the secondary screen), and the data frame is not parsed, thereby avoiding unnecessary power consumption and reducing the time when the secondary screen is stuck.

[0206] Optionally, the data frame playback delay may be pre-set, which is not limited in this application.

[0207] S404, the secondary screen sends a feedback message to the central control screen.

[0208] Exemplarily, the feedback message includes the second moment and the third moment, and may also include the second transmission delay, the first moment and / or the identifier of the secondary screen. Alternatively, the feedback message includes the second transmission delay, and may also include the second moment and the third moment, the first moment and / or the identifier of the secondary screen. Alternatively, the feedback message includes the second moment, the third moment, and the second transmission delay, and may also include the identifier of the secondary screen.

[0209] Optionally, the feedback message may be referred to as a third message.

[0210] Optionally, the second transmission delay in the feedback message can be replaced by the transmission delay of the I frame and the transmission delay of the P frame, and the central control screen determines the second transmission delay based on the transmission delay of the I frame and the transmission delay of the P frame.

[0211] Optionally, the third moment is the moment when the secondary screen sends a feedback message to the central control screen.

[0212] In some embodiments, when the secondary screen determines that the difference between the first transmission delay and the second transmission delay is greater than a specific threshold (such as the first threshold), the secondary screen sends a feedback message to the central control screen. When it is determined that the difference between the first transmission delay and the second transmission delay is less than or equal to the specific threshold, no feedback message is sent. In this way, when the difference between the first transmission delay and the second transmission delay is large, the central control screen is controlled to update the first transmission delay (the central control screen executes the following S405).

[0213] In other embodiments, the secondary screen sends a feedback message to the central control screen when receiving the first clock deviation and the first moment. That is to say, no matter how much the difference between the first transmission delay and the second transmission delay is (the secondary screen may use the second transmission delay to verify the first transmission delay, or may not use the second transmission delay to verify the first transmission delay), the secondary screen receives the first clock deviation and the first moment, and then sends a feedback message to the central control screen.

[0214] For example, the central control screen periodically sends a message including a first clock deviation and a first moment, and the secondary screen periodically sends a feedback message to the central control screen to control the central control screen to periodically determine whether to update the first transmission delay.

[0215] Combination Figure 1B The co-pilot screen, rear screen 1 to rear screen 4 in the vehicle system can respectively determine their corresponding second transmission delays and send feedback messages to the central control screen respectively.

[0216] Combination Figure 3 , the networking module 301b of the secondary screen sends a feedback message to the networking module 301a of the central control screen.

[0217] S405, the central control screen updates the first transmission delay.

[0218] Exemplarily, the central control screen determines the third transmission delay based on the first moment, the second moment, the third moment and the fourth moment, and determines whether the difference between the third transmission delay and the first transmission delay (or the absolute value of the difference) is greater than a specific threshold (which may be the first threshold). If so, the first transmission delay corresponding to the secondary screen is updated to the third transmission delay, and the updated first transmission delay is the third transmission delay. Otherwise, the first transmission delay is not updated.

[0219] Or, exemplarily, the central control screen determines whether the difference between the second transmission delay and the first transmission delay is greater than a specific threshold (for example, the first threshold). If so, the first transmission delay corresponding to the secondary screen is updated to the second transmission delay, and the updated first transmission delay is the second transmission delay. Otherwise, the first transmission delay is not updated.

[0220] Combination Figure 1B , the central control screen can determine whether to update the first transmission delay of the co-pilot screen and rear screens 1 to 4 respectively. If the difference between the third transmission delay of the co-pilot screen and the first transmission delay of the co-pilot screen is greater than a specific threshold, the transmission delay of the co-pilot screen is updated, otherwise, the transmission delay of the co-pilot screen is not updated. If the difference between the third transmission delay of rear screen 1 and the first transmission delay of rear screen 1 is greater than a specific threshold, the transmission delay of rear screen 1 is updated, which is not elaborated here one by one.

[0221] In some embodiments, the central control screen can also update the reference transmission delay and / or the first clock deviation.

[0222] Exemplarily, the central control screen determines the reference transmission delay based on the updated N first transmission delays (only some of the N first transmission delays may be updated).

[0223] Exemplarily, the central control screen updates the first clock deviation according to the first moment, the second moment, the third moment, the fourth moment and the updated first transmission delay. For example, the central control screen determines the second clock deviation according to the first moment, the second moment, the third moment, the fourth moment and the third transmission delay (or the second transmission delay), and the updated first clock deviation is the second clock deviation.

[0224] In some embodiments, the central control screen can also determine whether to update the reference transmission delay. For example, if the central control screen updates the first transmission delay corresponding to any one of the N secondary screens, the reference transmission delay is determined based on the updated N first transmission delays (only some of the N first transmission delays may be updated). For another example, if a new secondary screen is added to the current screen projection, the central control screen can update the reference transmission delay based on the first transmission delay corresponding to the new secondary screen and the N first transmission delays (some or all of the N first transmission delays may be updated, or none of them may be updated).

[0225] In this way, the central control screen can send subsequent resources to the secondary screen according to the first transmission delay corresponding to the secondary screen (which may be updated) and the updated reference transmission delay. During the resource transmission process, the time of sending resources to each secondary screen can be adjusted in real time to make the synchronized playback more accurate.

[0226] In some embodiments, the central control screen can also determine whether to update the first clock deviation.

[0227] Exemplarily, the central control screen determines the second clock deviation based on the first moment, the second moment, the third moment, the fourth moment and the third transmission delay. If the difference between the second clock deviation and the first clock deviation is within a certain range, for example, less than or equal to a specific threshold, the first clock deviation may not be updated. If the difference between the second clock deviation and the first clock deviation is greater than a specific threshold, the first clock deviation is updated to the second clock deviation.

[0228] In the present application, each specific threshold value may be pre-set, and the value of each specific threshold value may be the same or different, determined according to actual conditions, and is not limited in the present application.

[0229] Combination Figure 3The networking module 301a of the central control screen is used to update the first transmission delay, update the reference transmission delay, and update the first clock deviation. The networking module 301a of the central control screen sends the updated reference transmission delay to the projection module 302a of the central control screen, and the projection module 302a of the central control screen plays the video according to the updated reference transmission delay.

[0230] S406: The central control screen sends a second message to the secondary screen according to the updated N first transmission delays.

[0231] Exemplarily, the second message includes the second data. Among the N first transmission delays, only some of the first transmission delays may be updated.

[0232] Optionally, the second data may be a part of the first data frame, or the second data may be a part of the second data frame, or the second data may be a data frame.

[0233] Optionally, the second message may be referred to as a second message.

[0234] Exemplarily, the central control screen sends a second message to the secondary screen based on the transmission delay corresponding to the secondary screen (which may be updated) and the updated reference transmission delay.

[0235] Taking the first data and the second data as different data packets in the same data frame as an example, Figure 5 , assuming that after receiving message 4, rear screen 1 sends a feedback message to the central control screen, the central control screen updates the first transmission delay and the reference transmission delay, then the central control screen adjusts the time of sending message 5 to rear screen 1 according to the updated first transmission delay and the updated reference transmission delay. Optionally, the time of sending message 5 to rear screen 1 can also refer to the first transmission delay before the update and the reference transmission delay before the update. Message 5 includes data packet 5. The way in which the central control screen sends message 5 to other sub-screens is similar to that of rear screen 1, which will not be described one by one. In this way, the co-pilot screen, rear screens 1 to 4 can receive the same data frame more accurately at the same time, and then play this frame of video according to data packets 1 to 5 at the same time.

[0236] In this way, the data frame is split into multiple small packets (data packets) for transmission. During the transmission process, synchronous transmission is performed by adjusting the sending time of the data packet granularity. The time when each secondary screen receives the data frame can be accurately adjusted, which can make the synchronous transmission effect better, so that the video can be played synchronously more accurately.

[0237] Optionally, the second message also includes: the updated first transmission delay, the updated first clock deviation and / or the time when the central control screen sends the second message. Alternatively, the updated first transmission delay, the updated first clock deviation and / or the time when the central control screen sends the second message are carried in the third message, and the interval between the third message and the first message is a period for verifying the transmission delay. In this way, the secondary screen can verify whether the updated first transmission delay is accurate.

[0238] In some embodiments, when a data frame is split into multiple data packets, the secondary screen parses and plays the video after receiving a complete data frame.

[0239] Exemplarily, the secondary screen determines whether a complete data frame is received based on the data frame identifier and the first indication information in the first data, and if so, parses the received first data; otherwise, continues to receive messages from the central control screen.

[0240] Combination Figure 5 Taking the co-pilot screen as an example, the co-pilot screen receives the first data 1 (data packet 1), the first data 1 includes data frame 1 and the first data 1 is the first data packet in data frame 1 (first indication information), the co-pilot screen receives the first data 2, the first data 2 includes data frame 1 and the first data 2 is the second data packet in data frame 1, the co-pilot screen receives the first data 3 and the first data 4 in sequence, until the co-pilot screen receives the first data 5, the first data 5 includes data frame 1 and the first data 5 is the last data packet in data frame 1, the co-pilot screen parses the first data 1 to the first data 5 and plays data frame 1.

[0241] In some embodiments, if the first data is a video frame, the central control screen plays the first data frame according to the reference transmission delay. For example, if the first data is the first video frame in the video resource, after the central control screen sends a message including the first data, it plays the first video frame after a reference transmission delay. Then, the central control screen plays other video frames in sequence according to the data frame identifier and the first indication information (without a reference transmission delay). Optionally, after the reference transmission delay is updated, the central control screen dynamically adjusts the time to play subsequent video frames according to the reference transmission delay before the update and the reference transmission delay after the update, so as to ensure synchronous playback.

[0242] In other embodiments, the central control screen plays the video according to the data frame identifier, the first indication information and the reference transmission delay.

[0243] Exemplarily, assuming that a data frame is split into M data packets, the central control screen plays the first data frame after sending M messages including the first data for the first time, or after determining that the first indication information in the sent first data indicates that the first data is the last data packet in the first data frame in the data resource, after a reference transmission delay, the central control screen plays other video frames in sequence according to the data frame identifier and the first indication information. Optionally, after the reference transmission delay is updated, the central control screen dynamically adjusts the time to play subsequent video frames according to the reference transmission delay before the update and the reference transmission delay after the update, so as to ensure synchronous playback.

[0244] In some embodiments, the secondary screen can determine whether the video played on the secondary screen is synchronized with the video played on other display devices (such as the central control screen) based on the updated first clock deviation.

[0245] Exemplarily, the central control screen sends a fourth message to the secondary screen, the fourth message includes a data frame played by the central control screen at the fifth moment, and the secondary screen determines whether the data frame played by the secondary screen at the sixth moment matches the data frame played by the central control screen at the fifth moment. The sixth moment is determined based on the fifth moment and the updated first clock deviation.

[0246] If the data frame played by the secondary screen at the sixth moment does not match the data frame played by the central control screen at the fifth moment, the secondary screen sends a fifth message to the central control screen, and the fifth message is used to instruct the central control screen to update the updated first transmission delay. The central control screen updates the updated first transmission delay according to the fifth message. If they match, the fifth message is not sent.

[0247] Optionally, the fourth message also includes a seventh moment, which is the moment when the central control screen sends the fourth message. The fifth message also includes an eighth moment and a ninth moment, where the eighth moment is the moment when the secondary screen receives the fourth message, and the ninth moment is the moment when the secondary screen sends the fifth message. The central control screen records the timestamp of receiving the fifth message, for example, the tenth moment. The central control screen updates the updated first transmission delay according to the seventh moment, the eighth moment, the ninth moment, and the tenth moment.

[0248] In this way, the secondary screen can determine whether the video it plays is synchronized with the video played on the central control screen based on the time deviation. If they are not synchronized, it can actively request the central control screen to update the current transmission delay, which can further improve the accuracy of synchronous transmission.

[0249] Optionally, the fourth message may also be referred to as a fourth message, and the fifth message may also be referred to as a fifth message.

[0250] In one scenario, taking the method provided in the present application applied to a vehicle-mounted system as an example, the central control screen shares the same video data to each sub-screen based on the first transmission delay and the reference transmission delay corresponding to each sub-screen in the car. Each sub-screen in the car can receive the same video frame (or the same data or data packet) at the same time. Combined with the reference transmission delay, the central control screen and the sub-screens can achieve synchronous playback, so that passengers in the car can use different display devices to watch the same video at the same time.

[0251] The method provided in the present application can enable passengers in the car to simultaneously watch the same video through any video application in the central control screen and the secondary screen, without limiting the specific video application.

[0252] In one scenario, when passengers in the car are watching the same video simultaneously on the central control screen and the secondary screen, if the driver needs to answer or make a call through the central control screen, or needs to use navigation, or needs to check the in-vehicle monitoring, etc., the central control screen can display the video playback screen and other screens in picture-in-picture mode, such as call screen, navigation screen, or monitoring screen.

[0253] Take the example of a driver needing to check the in-vehicle monitoring while reversing. During the synchronous playback process, the central control screen detects the driver's reversing operation, and simultaneously displays the video playback screen and the monitoring screen in the interface of the central control screen. For example, the video playback screen is superimposed on the monitoring screen, and the display area of ​​the video playback screen is smaller than the display area of ​​the monitoring screen. The monitoring screen is displayed in the entire display area of ​​the central control screen, and the video playback screen is displayed in a small window. The display area of ​​the small window is smaller than the display area of ​​the display screen. For example, the video playback screen can be located at the lower left of the monitoring screen. For another example, the monitoring screen is superimposed on the video playback screen. The specific implementation can refer to the above description of the video playback screen superimposed on the monitoring screen, which will not be described in detail here. The secondary screen can display the video playback screen in full-screen mode, and the video playback screen is displayed in the entire display area of ​​the secondary screen.

[0254] In this way, even if the central control screen needs to display other pictures, the central control screen and the secondary screen can still synchronously play the same video using the method provided in this application, which will neither interrupt the synchronous playback of the same video by the central control screen and the secondary screen nor affect the driver's use, thereby improving the user experience.

[0255] Combine the following Figure 6 The following description of the interaction between the central control screen and the secondary screen to determine the first transmission delay and the first clock deviation is only an example.

[0256] like Figure 6 As shown, the method includes the following steps.

[0257] S601, the central control screen sends a connection request message to the secondary screen.

[0258] Exemplarily, the connection request message includes time 1. Time 1 is the time when the central control screen sends the connection request message to the secondary screen, and the central control screen sends the connection request message and records the timestamp.

[0259] Combination Figure 3 , the central control screen sends a connection request message to the networking module 301b of the secondary screen through the networking module 301a. For example, the central control screen sends a connection request message to the connection module b in the networking module 301b of the secondary screen through the connection module a in the networking module 301a.

[0260] Optionally, before the central control screen sends a connection request message, for example, during the initialization process, the projection module 302a of the central control screen triggers the networking module 301a of the central control screen to establish a connection with the secondary screen. Before the secondary screen receives a connection request message, for example, during the initialization process, the projection module 302b of the secondary screen triggers the networking module 301b of the secondary screen to monitor the message.

[0261] Combination Figure 1B The central control screen sends connection request messages to the co-pilot screen and rear screen 1 to rear screen 4 respectively.

[0262] Optionally, after the secondary screen receives the connection request message, time 2 is recorded, and time 2 is the time when the secondary screen receives the connection request message.

[0263] Optionally, before S601, the central control screen and the secondary screen perform a mutual discovery process. For example. The central control screen can send the type information of the device it needs by broadcasting. After receiving the broadcast, the secondary screen compares the type information of the required device with its own device type. If they match, it replies to the central control screen via unicast. In this way, the central control screen can find display devices that meet its requirements. The secondary screen can also actively broadcast its own device type information. After receiving the central control screen, it compares the type information of the device it needs with the device type of the secondary screen. If they match, it replies to the secondary screen via unicast. This is just an example. For the specific introduction of discovery and being discovered, please refer to the explanations and instructions in the conventional technology, and the embodiments of this application will not be repeated.

[0264] S602, the central control screen sends one or more clock detection messages to the secondary screen.

[0265] Optionally, the present application does not limit the sequence of the above S601 and S602, for example, they can be executed simultaneously.

[0266] Exemplarily, the clock detection message includes time a, and time a is the time when the central control screen sends the clock detection message to the secondary screen.

[0267] Combination Figure 3, the central control screen sends a clock detection message to the networking module 301b of the secondary screen through the networking module 301a. For example, the central control screen sends a clock detection message to the connection module b in the networking module 301b of the secondary screen through the connection module a in the networking module 301a.

[0268] Exemplarily, after the secondary screen receives the clock detection message, time b is recorded, and time b is the time when the secondary screen receives the clock detection message.

[0269] S603, the secondary screen sends a connection request response message to the central control screen.

[0270] Exemplarily, the connection request response message includes time 2 and time 3, and may also include time 1. Among them, time 3 is the time when the secondary screen sends the connection request response message to the central control screen.

[0271] Combination Figure 3 , the secondary screen sends a connection request response message to the networking module 301a of the central control screen through the networking module 301b. For example, the secondary screen sends a connection request response message to the connection module b in the networking module 301a of the central control screen through the connection module a in the networking module 301b.

[0272] Exemplarily, the central control screen receives the connection request response message and records a timestamp, such as time 4, where time 4 is the time when the central control screen receives the connection request response message.

[0273] S604, the central control screen determines the transmission delay 1 and the clock deviation 1 according to time 1, time 2, time 3 and time 4.

[0274] Exemplarily, the central control screen determines transmission delay 1 based on time 1, time 2, time 3 and time 4.

[0275] For example, transmission delay Wherein, T1 represents time 1, T2 represents time 2, T3 represents time 3, and T2 represents time 4. This is only an example, and the method of calculating the transmission delay is not limited thereto.

[0276] Exemplarily, the central control screen determines clock deviation 1 based on time 1, time 2, time 3, time 4 and transmission delay 1.

[0277] For example, clock skew Wherein, T1 represents time 1, T2 represents time 2, T3 represents time 3, and T2 represents time 4. This is only an example, and the method of calculating the clock deviation is not limited to this.

[0278] Combination Figure 3 , the networking module 301a of the central control screen determines the transmission delay 1 and the clock deviation 1.

[0279] S605, the central control screen sends a connection confirmation message to the secondary screen.

[0280] Exemplarily, the connection request message includes time 5. Among them, time 5 is the time when the central control screen sends a connection confirmation message to the secondary screen, and the central control screen sends the connection confirmation message and records the timestamp.

[0281] Optionally, after the secondary screen receives the connection confirmation message, time 6 is recorded, and time 6 is the time when the secondary screen receives the connection confirmation message.

[0282] S606, the secondary screen sends one or more clock detection response messages to the central control screen.

[0283] For example, after receiving one or more clock detection messages, the secondary screen replies with clock detection response messages in sequence.

[0284] Exemplarily, the clock detection response message includes time b and time c, and may also include time a. Among them, time c is the time when the secondary screen sends the clock detection response message to the central control screen.

[0285] Exemplarily, the central control screen receives the clock detection response message and records a timestamp, such as time d, where time d is the time when the central control screen receives the clock detection response message.

[0286] Optionally, the clock detection message corresponds to the clock detection response message one by one. For example, when the secondary screen receives a clock detection message, it will respond with a clock detection response message.

[0287] S607, the central control screen determines the transmission delay 2 and the clock deviation 2 according to time a, time b, time c and time d.

[0288] Exemplarily, the central control screen determines the transmission delay 2 based on time a, time b, time c and time d.

[0289] For example, transmission delay Wherein, Ta represents time a, Tb represents time b, Tc represents time c, and Td represents time d. This is only an example, and the method of calculating the transmission delay is not limited thereto.

[0290] Exemplarily, the central control screen determines clock deviation 2 based on time a, time b, time c, time d and transmission delay 2.

[0291] For example, clock skew Wherein, Ta represents time a, Tb represents time b, Tc represents time c, and Td represents time d. This is only an example, and the method of calculating the clock deviation is not limited thereto.

[0292] Combination Figure 3 , the networking module 301a of the central control screen determines the transmission delay 2 and the clock deviation 2.

[0293] Optionally, the central control screen can determine transmission delay 2 based on multiple transmission delays, and the central control screen can determine clock deviation 2 based on multiple clock deviations.

[0294] The multiple transmission delays correspond to the multiple clock detection messages (or multiple clock detection messages) one-to-one, and the multiple clock deviations correspond to the multiple clock detection messages (or multiple clock detection messages) one-to-one.

[0295] For example, the central control screen sends clock detection message 1 and clock detection message 2 to the secondary screen, and receives corresponding clock detection response message 1 and clock detection response message 2. The transmission delay a1 and the clock deviation a1 are determined according to the time of clock detection message 1 and the time in clock detection response message 1, and the transmission delay a2 and the clock deviation a2 are determined according to the time of clock detection message 2 and the time in clock detection response message 2. Then, the transmission delay 2 can be the average of the transmission delay a1 and the transmission delay a2, and the clock deviation 2 can be the average of the clock deviation a1 and the clock deviation a2. This is only an example.

[0296] S608, the secondary screen sends a connection confirmation response message to the central control screen.

[0297] Exemplarily, the connection request response message includes time 6 and time 7, and may also include time 5. Among them, time 7 is the time when the secondary screen sends a connection confirmation response message to the central control screen.

[0298] Optionally, after the central control screen receives the connection confirmation response message, time 8 is recorded, and time 8 is the time when the secondary screen receives the connection confirmation response message.

[0299] S609, the central control screen determines the transmission delay 3 and the clock deviation 3 according to time 5, time 6, time 7 and time 8.

[0300] Exemplarily, the central control screen determines the transmission delay 3 according to time 5, time 6, time 7 and time 8. The specific implementation method can refer to the above-mentioned central control screen determining the transmission delay 1, which will not be repeated here.

[0301] Exemplarily, the central control screen determines the clock deviation 3 according to time 5, time 6, time 7 and time 8. The specific implementation method can refer to the central control screen determining the clock deviation 1, which will not be repeated here.

[0302] Combination Figure 3 , the networking module 301a of the central control screen determines the transmission delay 3 and the clock deviation 3.

[0303] S610, the central control screen determines a first transmission delay and a first clock deviation.

[0304] Exemplarily, the central control screen determines the first transmission delay according to transmission delay 1, transmission delay 2, and transmission delay 3. That is, the central control screen can determine the transmission delay between the secondary screen and the central control screen according to multiple transmission delays during the connection between the secondary screen and the central control screen.

[0305] Exemplarily, the central control screen determines the first clock deviation according to clock deviation 1, clock deviation 2, and clock deviation 3. That is, the central control screen can determine the clock deviation between the secondary screen and the central control screen according to multiple clock deviations during the connection process between the secondary screen and the central control screen.

[0306] Combination Figure 1B The central control screen and the co-pilot screen can obtain the first transmission delay and the first clock deviation between the co-pilot screen and the central control screen by executing the above S601-S611. The central control screen and the rear screen 1 can obtain the first transmission delay and the first clock deviation between the rear screen 1 and the central control screen by executing the above S601-S611, which are not elaborated one by one.

[0307] Combination Figure 3 , the networking module 301a of the central control screen determines the first transmission delay and the first clock deviation.

[0308] During the connection establishment process, the present application determines the first transmission delay and the first clock deviation by carrying a timestamp in the message used to establish the connection in combination with sending a clock detection message, thereby improving the accuracy of the calculated transmission delay and clock deviation between the secondary screen and the central control screen.

[0309] S611, the central control screen determines a reference transmission delay based on one or more first transmission delays.

[0310] Regarding the central control screen determining the reference transmission delay based on one or more first transmission delays, reference can be made to the above description of S401 in which the central control screen determines the reference transmission delay based on N first transmission delays, which will not be repeated here.

[0311] Combination Figure 3 The networking module 301a of the central control screen determines the reference transmission delay based on one or more first transmission delays.

[0312] In some embodiments, in combination Figure 3 , the projection module 302a of the central control screen requests the reference transmission delay from the networking module 301a of the central control screen, the networking module 301a of the central control screen determines the reference transmission delay according to one or more first transmission delays, and the networking module 301a of the central control screen sends the reference transmission delay to the projection module 302a of the central control screen. In other words, the reference transmission delay can be determined by the networking module 301a of the central control screen.

[0313] In other embodiments, in combination Figure 3, the projection module 302a of the central control screen requests the first transmission delay from the networking module 301a of the central control screen, the networking module 301a of the central control screen sends one or more first transmission delays to the projection module 302a of the central control screen, and the projection module 302a of the central control screen determines the reference transmission delay according to the one or more first transmission delays. In other words, the reference transmission delay can be determined by the projection module 302a of the central control screen.

[0314] So, based on Figure 6 According to the method shown, during the process of establishing a connection between the central control screen and the secondary screen, a first transmission delay and a first clock deviation between the central control screen and the secondary screen are obtained, which can improve transmission efficiency and save power consumption.

[0315] In this application, unless otherwise specified, the same or similar parts between the various embodiments can refer to each other. In the various embodiments in this application, and the various implementation methods / implementation methods / implementation methods in each embodiment, if there is no special description and logical conflict, the terms and / or descriptions between different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment are consistent and can be referenced to each other. The technical features in different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment can be combined to form new embodiments, implementation methods, implementation methods, or implementation methods according to their inherent logical relationships. In each example or each optional method described in the above embodiments, any content can be freely combined, and the combined content is also within the scope of this application. The above-described implementation methods of this application do not constitute a limitation on the scope of protection of this application.

[0316] Combination of the above Figure 1A-Figure 6 The synchronous transmission method provided by the embodiment of the present application is described in detail. Figure 7 The central control screen and the sub-screen provided in the embodiments of the present application are described in detail.

[0317] Figure 7 This is a schematic diagram of the structure of a device provided in an embodiment of the present application. For example, the device may be a central control screen or a secondary screen. Figure 7 As shown, the device 700 may include: a transceiver unit 701 and a processing unit 702, and may also include a display unit 703 ( Figure 7 not shown).

[0318] In one possible design, the device 700 is a central control screen, and the device 700 can be used to implement the functions of the central control screen involved in the above method embodiment.

[0319] Optionally, the transceiver unit 701 is used to support the central control screen to execute Figure 1A-Figure 6 Any of the sending and receiving functions.

[0320] Optionally, the processing unit 702 is used to support the central control screen to execute Figure 1A-Figure 6 Any processing function in .

[0321] Optionally, the display unit 703 is used to support the central control screen to execute Figure 1A-Figure 6 Any display function and / or touch function.

[0322] Among them, the transceiver unit 701 may include a receiving unit and a sending unit, and may be implemented by a transceiver or a transceiver-related circuit component, and may be a transceiver or a transceiver module. The operations and / or functions of each unit in the device 700 are respectively to implement the corresponding processes of the method described in the above method embodiment. All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional unit, and for the sake of brevity, they will not be repeated here.

[0323] Optional, Figure 7 The device 700 shown may also include a storage unit ( Figure 7 (not shown), the storage unit stores a program or instruction. When the transceiver unit 701, the processing unit 702 and the display unit 703 execute the program or instruction, Figure 7 The device 700 shown can execute the method described in the above method embodiments.

[0324] Figure 7 The technical effects of the device 700 shown can refer to the technical effects of the methods described in the above method embodiments, which will not be repeated here.

[0325] In addition to being in the form of device 700, the technical solution provided in the present application can also be a functional unit or chip in the central control screen, or a device used in conjunction with the central control screen.

[0326] In another possible design, the device 700 is a secondary screen, and the device 700 can be used to implement the functions of the secondary screen involved in the above method embodiment.

[0327] Optionally, the transceiver unit 701 is used to support the secondary screen execution Figure 1A-Figure 6 Any sending and receiving function in .

[0328] Optionally, the processing unit 702 is used to support the secondary screen execution Figure 1A-Figure 6 Any processing function in .

[0329] Optionally, the display unit 703 is used to support the secondary screen execution Figure 1A-Figure 6 Any display function in .

[0330] Among them, the transceiver unit 701 may include a receiving unit and a sending unit, and may be implemented by a transceiver or a transceiver-related circuit component, and may be a transceiver or a transceiver module. The operations and / or functions of each unit in the device 700 are respectively to implement the corresponding processes of the method described in the above method embodiment. All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional unit, and for the sake of brevity, they will not be repeated here.

[0331] Optional, Figure 7 The device 700 shown may also include a storage unit ( Figure 7 (not shown), the storage unit stores a program or instruction. When the transceiver unit 701, the processing unit 702 and the display unit 703 execute the program or instruction, Figure 7 The device 700 shown can execute the method described in the above method embodiments.

[0332] Figure 7 The technical effects of the device 700 shown can refer to the technical effects of the methods described in the above method embodiments, which will not be repeated here.

[0333] In addition to being in the form of device 700, the technical solution provided in the present application can also be a functional unit or chip in the secondary screen, or a device used in conjunction with the secondary screen.

[0334] An embodiment of the present application also provides a communication system, including: a central control screen and one or more secondary screens, and may also include a server.

[0335] Optionally, each device in the communication system provided in the embodiment of the present application may execute the method described in the above method embodiment. The technical effect of the communication system may refer to the technical effect of the method described in the above method embodiment, which will not be described in detail here.

[0336] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.

[0337] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0338] Optionally, the memory in the chip system may be one or more. The memory may be integrated with the processor or may be separately provided with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be provided on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.

[0339] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.

[0340] It should be understood that each step in the above method embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.

[0341] An embodiment of the present application also provides a readable storage medium, in which a program is stored. When the program is run on a computer or a device, the computer or the device executes the above-mentioned related steps to implement the method in the above-mentioned embodiment.

[0342] The embodiments of the present application also provide a program product. When the program product is run on a computer or a device, the computer or the device executes the above-mentioned related steps to implement the method in the above-mentioned embodiments.

[0343] In addition, an embodiment of the present application further provides a device. The device may be a component or a module, and the device may include one or more processors and a memory connected to each other. The memory is used to store a program. When the program is executed by one or more processors, the device executes the method in each of the above method embodiments.

[0344] Among them, the device, readable storage medium, program product or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0345] The steps of the method or algorithm described in conjunction with the disclosed content of the embodiments of the present application can be implemented in hardware or by executing software instructions by a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, read-only compact disks (CD-ROMs) or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).

[0346] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed; that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0347] In the several embodiments provided in the present application, it should be understood that the disclosed method can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of modules or units, which can be electrical, mechanical or other forms.

[0348] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0349] The readable storage medium includes but is not limited to any of the following: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0350] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A synchronous transmission method, characterized in that: Applied to central control screen, including: According to the first transmission delay and the first reference delay, a first message is sent to the secondary screen; wherein the first message includes a first data packet, the first data packet is a part of the first data frame, the first transmission delay is the transmission delay between the central control screen and the secondary screen, and the first reference delay is determined according to the transmission delays between at least two of the secondary screens and the central control screen respectively; Updating the first transmission delay and the first reference delay; According to the updated first transmission delay and the updated first reference delay, a second message is sent to the secondary screen; wherein the second message includes a second data packet, and the second data packet is a part of the first data frame.

2. The method according to claim 1, characterized in that Before updating the first transmission delay and the first reference delay, the method further includes: Determine that the difference between the first transmission delay and the second transmission delay is greater than a first threshold; wherein the second transmission delay comes from the secondary screen.

3. The method according to claim 1 or 2, characterized in that: The time when the central control screen sends the first message is the first time, and the updating of the first transmission delay and the first reference delay includes: Receive a third message from the secondary screen; wherein the third message includes: a second time and a third time, the second time is the time when the secondary screen receives the first message, and the third time is the time when the secondary screen sends the third message; The first transmission delay and the first reference delay are updated according to the first moment, the second moment, the third moment and the fourth moment; wherein the fourth moment is the moment when the central control screen receives the third message.

4. The method according to claim 3, characterized in that: The first message also includes: the first transmission delay, the first clock deviation and the first time, and the first clock deviation is the deviation between the clock of the central control screen and the clock of the secondary screen.

5. The method according to any one of claims 1 to 4, characterized in that The second message also includes: an updated first transmission delay, an updated first clock deviation and a time of sending the second message, wherein the updated first clock deviation is determined according to the updated first transmission delay.

6. The method according to any one of claims 1 to 5, characterized in that The second data packet includes a data frame identifier and sequence indication information, and the method further includes: The first data frame is played according to the first reference delay, the updated first reference delay, the data frame identifier and the order indication information; wherein the data frame identifier is the identifier of the first data frame, and the order indication information is used to indicate that the second data packet is the last data packet in the data packet sequence corresponding to the first data frame.

7. The method according to claim 6, characterized in that The method further comprises: Send a fourth message to the secondary screen; wherein the fourth message includes: the data frame played by the central control screen at the fifth moment.

8. The method according to claim 7, characterized in that The method further comprises: Receive a fifth message from the secondary screen; wherein the fifth message is used to instruct the central control screen to update the updated first transmission delay; The updated first transmission delay is updated.

9. The method according to any one of claims 1 to 8, characterized in that The central control screen is deployed in the vehicle, and the secondary screen is deployed in the vehicle.

10. A synchronous transmission method, characterized in that: Applied to the secondary screen, including: Receive a first message from the central control screen; wherein the first message includes a first data packet, and the first data packet is a part of a first data frame; Receive a second message from the central control screen; wherein the second message includes a second data packet, and the second data packet is a part of the first data frame.

11. The method according to claim 10, characterized in that The first message also includes a first transmission delay, a first clock deviation and a first time. After receiving the second message from the central control screen, the method further includes: Determine that the difference between the first transmission delay and the second transmission delay is greater than a first threshold; wherein the second transmission delay is determined according to the first moment, the second moment and the first clock deviation, the first moment is the moment when the central control screen sends the first message, and the first clock deviation is the deviation between the clock of the central control screen and the clock of the secondary screen; Send a third message to the central control screen; wherein the third message includes: a second moment and a third moment, the second moment is the moment when the secondary screen receives the first message, and the third moment is the moment when the secondary screen sends the third message.

12. The method according to claim 11, characterized in that The third message also includes the second transmission delay.

13. The method according to any one of claims 10 to 12, characterized in that: The second message also includes: an updated first transmission delay, an updated first clock deviation, and a time of sending the second message.

14. The method according to any one of claims 10 to 13, characterized in that: The second data packet includes a data frame identifier and sequence indication information, and the method further includes: The first data frame is played according to the data frame identifier and the order indication information; wherein the data frame identifier is the identifier of the first data frame, and the order indication information is used to indicate that the second data packet is the last data packet in the data packet sequence corresponding to the first data frame.

15. The method according to claim 14, characterized in that The method further comprises: receiving a fourth message from the central control screen; wherein the fourth message includes: a data frame played by the central control screen at a fifth moment; Determine whether the data frame played by the secondary screen at the sixth moment matches the data frame played by the central control screen at the fifth moment; wherein the sixth moment is determined based on the fifth moment and the updated first clock deviation.

16. The method according to claim 15, characterized in that The method further comprises: If the data frame played by the secondary screen at the sixth moment does not match the data frame played by the central control screen at the fifth moment, a fifth message is sent to the central control screen; wherein the fifth message is used to instruct the central control screen to update the updated first transmission delay.

17. The method according to any one of claims 10 to 16, characterized in that The central control screen is deployed in the vehicle, and the secondary screen is deployed in the vehicle.

18. A first device, characterized in that: The first device comprises: one or more processors; one or more memories; The memory stores one or more programs, and when the one or more programs are executed by the one or more processors, the first device executes the method according to any one of claims 1 to 9.

19. A second device, characterized in that: The second device comprises: one or more processors; one or more memories; The memory stores one or more programs, and when the one or more programs are executed by the one or more processors, the second device executes the method according to any one of claims 10 to 17.

20. A communication system, characterized in that: The communication system comprises: The first device as claimed in claim 18; and The second device as claimed in claim 19.

21. A readable storage medium, characterized in that: The readable storage medium includes a program, and when the program is executed on a device, the device is caused to execute the method according to any one of claims 1 to 17.