CN112672313A - Method, device, equipment and storage medium for transmitting data - Google Patents

Method, device, equipment and storage medium for transmitting data Download PDF

Info

Publication number
CN112672313A
CN112672313A CN202011508824.1A CN202011508824A CN112672313A CN 112672313 A CN112672313 A CN 112672313A CN 202011508824 A CN202011508824 A CN 202011508824A CN 112672313 A CN112672313 A CN 112672313A
Authority
CN
China
Prior art keywords
terminal
preset application
connection
connection mode
response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011508824.1A
Other languages
Chinese (zh)
Other versions
CN112672313B (en
Inventor
欧阳能钧
王斌
王庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apollo Zhilian Beijing Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202011508824.1A priority Critical patent/CN112672313B/en
Publication of CN112672313A publication Critical patent/CN112672313A/en
Application granted granted Critical
Publication of CN112672313B publication Critical patent/CN112672313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a method, a device, equipment and a storage medium for transmitting data, and relates to the technical field of Internet of vehicles. The specific implementation scheme is as follows: in response to the fact that the first terminal is successfully connected in a wireless connection mode, whether a first preset application installed in the first terminal is started is determined; in response to the fact that the first preset application is started completely, controlling a second terminal in wired connection to start a second preset application installed in the second terminal; in response to determining that the second preset application is started, acquiring target data from the first terminal through the first preset application; and sending the target data to a second terminal in a wired connection mode for a second preset application to analyze and display. The realization mode can realize the non-inductive connection between the mobile phone and the car machine.

Description

Method, device, equipment and storage medium for transmitting data
Technical Field
The present application relates to the field of computer technologies, and in particular, to the field of car networking, and in particular, to a method, an apparatus, a device, and a storage medium for transmitting data.
Background
With the increasing requirement of people on the travelling comfort level, the traditional front-mounted automobile electronic equipment can not meet the travelling requirements of people gradually due to slow iteration, ecological closure, weak calculation and poor networking capability. As a result, more and more people choose to navigate using the handset cradle. The method has the advantages that the user can enjoy the high performance, strong networking capability and open ecology of the mobile phone. The disadvantage is that the antenna structure of the mobile phone is limited by the size of the mobile phone, so that the situation of poor quality of the GPS signal often occurs, which is not acceptable for vehicle navigation. Therefore, the mobile phone-vehicle interconnection mode is developed. The mobile phone car-machine interconnection mode can effectively make up the defects of mobile phone navigation and car-machine native navigation systems, and is gradually accepted by people.
Disclosure of Invention
A method, apparatus, device, and storage medium for transmitting data are provided.
According to a first aspect, there is provided a method for transmitting data, comprising: in response to the fact that the first terminal is successfully connected in a wireless connection mode, whether a first preset application installed in the first terminal is started is determined; in response to the fact that the first preset application is started completely, controlling a second terminal in wired connection to start a second preset application installed in the second terminal; in response to determining that the second preset application is started, acquiring target data from the first terminal through the first preset application; and sending the target data to a second terminal in a wired connection mode for a second preset application to analyze and display.
According to a second aspect, there is provided an apparatus for transmitting data, comprising: a state determination unit configured to determine whether starting of a first preset application installed in the first terminal is completed in response to a determination that the connection with the first terminal through the wireless connection is successful; an application starting unit configured to control the second terminal connected by wire to start a second preset application installed therein in response to determining that the first preset application is started up; a data acquisition unit configured to acquire target data from the first terminal through the first preset application in response to determining that the second preset application is started; and the data sending unit is configured to send the target data to the second terminal in a wired connection mode for the second preset application to analyze and display.
According to a third aspect, there is provided an electronic device for transmitting data, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described in the first aspect.
According to a fourth aspect, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method as described in the first aspect.
According to a fifth aspect, a computer program product comprising a computer program which, when executed by a processor, implements the method as described in the first aspect.
According to the technology of this application, a cell-phone car machine interconnection mode is provided, compares the current mode of connecting through the USB data line, and the interconnection mode of this application can realize the noninductive connection of cell-phone and car machine.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for transmitting data according to the present application;
FIG. 3 is a schematic diagram of an application scenario of a method for transmitting data according to the present application;
FIG. 4 is a flow diagram of another embodiment of a method for transmitting data according to the present application;
FIG. 5 is a schematic block diagram illustrating one embodiment of an apparatus for transmitting data according to the present application;
fig. 6 is a block diagram of an electronic device for implementing a method for transmitting data according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the method for transmitting data or the apparatus for transmitting data of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include a first terminal 101, an intermediary device 102, and a second terminal 103. The first terminal 101 is communicatively coupled to the intermediate device 102, and the intermediate device 102 is communicatively coupled to the second terminal 103. Specifically, the first terminal 101 and the intermediate device 102 may be communicatively connected by a wireless connection, and the intermediate device 102 and the second terminal 103 may be communicatively connected by a wired connection.
The user may use the first terminal 101, and may also control the second terminal 103 through the first terminal 101 and the communication connection between the first terminal 101 and the intermediate device 102 and the second terminal 103. Various communication client applications, such as navigation applications, mobile phone-vehicle-machine interconnection applications, and the like, may be installed on the first terminal 101 and the second terminal 103.
Here, the first terminal 101 may be a mobile terminal such as a mobile phone and a tablet computer, and the second terminal 103 may be an electronic device such as a car machine and a car computer. Both the first terminal 101 and the second terminal 103 are provided with an interface for wired connection, such as a USB interface, a Micro USB interface, a USB Type C interface, and the like.
The intermediate device 102 may be any device for connecting the first terminal 101 and the second terminal 103. The intermediate device 102 may be provided with an interface adapted to an interface on the first terminal 101 or the second terminal 103. Intermediary device 102 may support both wireless and wired connections.
It should be noted that the method for transmitting data provided in the embodiments of the present application is generally performed by intermediary device 102. Accordingly, the means for transmitting data is generally disposed in intermediary device 102.
It should be understood that the number of first terminals 101, intermediate devices 102 and second terminals 103 in fig. 1 is merely illustrative. There may be any number of first terminals 101, intermediate devices 102, and second terminals 103, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for transmitting data in accordance with the present application is shown. The method for transmitting data of the embodiment comprises the following steps:
step 201, in response to determining that the connection with the first terminal through the wireless connection mode is successful, determining whether the starting of the first preset application installed in the first terminal is completed.
In this embodiment, an execution subject of the method for transmitting data (for example, the intermediate device 102 shown in fig. 1) may be first connected to the first terminal by a wireless connection. Here, the wireless connection means may include various means such as a bluetooth connection, a WiFi connection, an NFC connection, and the like. The first terminal can be a mobile terminal such as a mobile phone and a tablet computer. The executing agent may determine whether the connection with the first terminal was successful in a number of ways, such as by sending a message to confirm, or by testing the network connection status.
If the execution subject determines that the connection with the first terminal through the wireless connection mode is successful, whether the starting of the first preset application installed in the first terminal is completed can be further determined. Here, the first preset application installed in the first terminal is used in cooperation with the second preset application installed in the second terminal. The first preset application can be used for acquiring data generated in the first terminal, packaging the data, encrypting the data and then sending the data to the execution main body, the execution main body forwards the data to the second terminal, and after the second terminal receives the data, the second preset application can decompress and decrypt the data to obtain final data. The execution main body may determine whether the first preset application installed in the first terminal is started completely in various ways, for example, by confirming whether a start completion message sent by the first terminal is received.
And 202, in response to the fact that the first preset application is started completely, controlling the second terminal in wired connection to start a second preset application installed in the second terminal.
In this embodiment, the execution main body may be in communication connection with the second terminal in a wired connection manner. The second terminal can be a fixed terminal such as a car machine and a desktop. The wired connection may include a USB connection, a Micro USB connection, a USB Type C connection, and the like. If the execution subject determines that the starting of the first preset application installed in the first terminal is completed, the second terminal may be controlled to start the second preset application installed therein. Specifically, the execution main body may send a start message to the second terminal in a wired connection manner, so that the second preset application installed therein is started secondly.
Step 203, in response to determining that the second preset application is started, obtaining target data from the first terminal through the first preset application.
If the execution subject determines that the starting of the second preset application installed in the second terminal is completed, the target data can be acquired from the first terminal through the first preset application. Here, the target data may be various types of data that the communication protocols of the first preset application and the second preset application support to transmit, and may include, for example, audio, video, images, and the like. The target data may be data generated by other hardware or application programs installed in the first terminal, for example, video collected by an image collecting device installed in the first terminal, or a navigation route and a prompt voice generated by a navigation application.
And 204, sending the target data to a second terminal in a wired connection mode for a second preset application to analyze and display.
After the execution main body obtains the target data, the target data can be sent to the second terminal in a wired connection mode, and therefore the second preset application installed in the second terminal decompresses or decrypts the target data to obtain the data for display.
With continued reference to fig. 3, a schematic diagram of one application scenario of a method for transmitting data according to the present application is shown. In the application scenario of fig. 3, a mobile phone 301 used by a user is wirelessly connected to a connection device 303 plugged into a USB interface of a car machine 302. The mobile phone 301 is installed with a mobile phone version interconnection application, and the in-vehicle version interconnection application is installed in the in-vehicle device. The mobile phone 301 also has a map application installed therein. The mobile phone version internet application in the mobile phone 301 can send the navigation route and the prompt audio generated by the map application to the connection device 303 in a wireless connection mode. The connection device 303 may forward the data to the car machine 302 through the USB interface. The car-machine-version interconnection application installed in the car machine 302 analyzes the data, so that the navigation route can be displayed on the screen of the car machine 302, and the prompt audio can be played through the loudspeaker of the car machine 302. The connecting device 303 can be used for connecting the mobile phone 301 with the car machine 302 without using a USB data line, so that the non-inductive connection between the mobile phone 301 and the car machine 302 is realized, and meanwhile, the connecting device 303 can be plugged and pulled at any time and is more portable.
The method for transmitting data provided by the above embodiment of the application can realize the connection of two terminals in a manner of combining a wireless connection manner and a wired connection manner, thereby facilitating the realization of data transmission.
With continued reference to FIG. 4, a flow 400 of another embodiment of a method for transmitting data in accordance with the present application is shown. As shown in fig. 4, the method of the present embodiment may include the following steps:
step 401, in response to determining that the connection with the first terminal through the first connection mode is successful, sending identification information to the first terminal.
In this embodiment, if the execution subject determines that the connection with the first terminal through the first connection mode is successful, the execution subject may send identification information of the execution subject to the first terminal. Here, the first connection means may include bluetooth, a near field connection means, and the like. The identification information is used for connecting the first terminal through a second connection mode. The identification information may include a WiFi name. The first terminal may scan to the execution principal through the WiFi name, thereby connecting to the execution principal.
And 402, responding to the received connection request aiming at the identification information sent by the first terminal, and connecting the first terminal through a second connection mode.
After the identification information is sent to the first terminal, if the execution main body receives a connection request for the identification information sent by the first terminal, the first terminal can be connected in a second connection mode. The second connection means may comprise a WiFi connection. Here, the transmission bandwidth of the second connection method may be greater than that of the first connection method, so that data may be transmitted with low latency through the second connection method.
In some optional implementation manners of this embodiment, the first connection manner may be a bluetooth connection manner, and the second connection manner may be a WiFi connection manner. The above method may further comprise the following steps not shown in fig. 4: responding to the fact that the connection with the first terminal through the Bluetooth connection mode is successful, and sending a WiFi frequency band to the first terminal; and in response to determining that the confirmation message aiming at the WiFi frequency band sent by the first terminal is received, sending identification information to the first terminal.
In this implementation, after the execution main body is connected to the first terminal through bluetooth, the execution main body may first send a WiFi frequency band to the first terminal before connecting the first terminal through WiFi. The WiFi frequency band is used to determine the frequency band used for transmitting data. After receiving the WiFi frequency band, the first terminal may send an acknowledgement message to the execution main body. After receiving the confirmation message, the execution subject may determine that the first terminal agrees to transmit data using the WiFi frequency band, and then the agreement is completed. The identification information may then continue to be transmitted to the first terminal.
And step 403, in response to determining that the connection with the first terminal through the second wireless connection mode is successful, determining whether the starting of the first preset application installed in the first terminal is completed.
In this embodiment, if the execution main body determines that the connection with the first terminal through the second wireless connection mode is successful, it may be further determined whether the starting of the first preset application installed in the first terminal is completed.
And step 404, in response to determining that the starting of the first preset application is completed, controlling the second terminal in the wired connection to start the second preset application installed therein.
Step 405, in response to determining that the second preset application is started, controlling the first terminal to record a screen of a third preset application to obtain a screen recording video; and receiving the radio screen video from the first terminal through the first preset application.
If the second preset application installed in the second terminal is started, the execution main body can control the first terminal to record the screen of the third preset application installed in the first terminal, and a screen recording video is obtained. Here, the third preset application may be an application program for display in the second terminal, and may be, for example, a map application, a call-class application, or the like. The first terminal may send the screen recording video as target data to the execution main body through a first preset application.
In some optional implementations of this embodiment, the third preset application runs in the background. This does not affect the use of the first terminal by the user.
And step 406, sending the target data to the second terminal in a wired connection manner for the second preset application to analyze and display.
Step 407, receiving an operation instruction of a user on the first device from the first device through the first preset application; and sending the operation instruction to the second terminal for controlling the second terminal after the second preset application is analyzed.
In this embodiment, the execution main body may further receive, from the first device, an operation instruction of the first device by the user through the first preset application. The operation instruction may include, for example: screen locking, screen capturing, and the like. The execution main body may send the operation instruction to the second terminal for controlling the second terminal after the second preset application is analyzed. That is, the user can realize the control of the second terminal by operating the first terminal.
According to the method for transmitting data provided by the embodiment of the application, the data can be transmitted through WiFi after the first terminal is connected through Bluetooth, so that the low delay of data transmission is ensured; the purpose of displaying the interface of the preset application in the second terminal can be achieved by recording the screen of the preset application in the first terminal and transmitting the screen-recording video, and meanwhile, the preset application runs in the background without influencing the use of the first terminal by a user; and the operation instruction can be transmitted to realize indirect control on the second terminal.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of an apparatus for transmitting data, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable to various electronic devices.
As shown in fig. 5, the apparatus 500 for transmitting data of the present embodiment includes: a state determination unit 501, an application starting unit 502, a data acquisition unit 503, and a data transmission unit 504.
The state determination unit 501 is configured to determine whether the first preset application installed in the first terminal is started up and completed in response to determining that the connection with the first terminal through the wireless connection mode is successful.
An application starting unit 502 configured to control the second terminal connected by wire to start the second preset application installed therein in response to determining that the first preset application is started up completely.
A data obtaining unit 503 configured to obtain the target data from the first terminal through the first preset application in response to determining that the second preset application is started.
And the data sending unit 504 is configured to send the target data to the second terminal through a wired connection manner for the second preset application to parse and display.
In some optional implementations of this embodiment, the wireless connection mode includes a first connection mode and a second connection mode. The apparatus 500 may further include a wireless connection unit, not shown in fig. 5, configured to: in response to determining that the connection with the first terminal through the first connection mode is successful, sending identification information to the first terminal, wherein the identification information is used for connecting the first terminal through a second connection mode; and responding to the received connection request aiming at the identification information sent by the first terminal, and connecting the first terminal through a second connection mode.
In some optional implementation manners of this embodiment, the first connection manner includes a bluetooth connection manner, and the second connection manner includes a WiFi connection manner. The apparatus 500 may further comprise a frequency band negotiating unit, not shown in fig. 5, configured to: responding to the fact that the connection with the first terminal through the Bluetooth connection mode is successful, and sending a WiFi frequency band to the first terminal; and in response to determining that the confirmation message aiming at the WiFi frequency band sent by the first terminal is received, sending identification information to the first terminal.
In some optional implementations of this embodiment, the data obtaining unit 503 may be further configured to: controlling the first terminal to record a screen of a third preset application to obtain a screen recording video; and receiving the radio screen video from the first terminal through the first preset application.
In some optional implementations of this embodiment, the apparatus 500 may further include an instruction transmission unit, not shown in fig. 5, configured to: receiving an operation instruction of a user on the first device from the first device through a first preset application; and sending the operation instruction to the second terminal for controlling the second terminal after the second preset application is analyzed.
It should be understood that the units 501 to 504 described in the apparatus 500 for transmitting data correspond to the respective steps in the method described with reference to fig. 2. Thus, the operations and features described above for the method for transmitting data are equally applicable to the apparatus 500 and the units included therein and will not be described again here.
There is also provided, in accordance with an embodiment of the present application, an electronic device, a readable storage medium, and a computer program product.
As shown in fig. 6, is a block diagram of an electronic device executing a method for transmitting data according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more processors 601, memory 602, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 6, one processor 601 is taken as an example.
The memory 602 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by at least one processor to cause the at least one processor to perform the methods provided herein for transmitting data. A non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the methods provided herein for transmitting data.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present application may be written in any combination of one or more programming languages. The program code described above may be packaged as a computer program product. These program code or computer program products may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program code, when executed by the processor 601, causes the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
The memory 602, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the method for transmitting data (e.g., the state determination unit 501, the application start unit 502, the data acquisition unit 503, and the data transmission unit 504 shown in fig. 5) in the embodiments of the present application. The processor 601 executes various functional applications of the server and data processing by executing non-transitory software programs, instructions and modules stored in the memory 602, that is, implements the method for transmitting data performed in the above method embodiment.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of an electronic device performed to transmit data, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 602 optionally includes memory located remotely from the processor 601, which may be connected via a network to an electronic device executing instructions for transferring data. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device performing the method for transmitting data may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The input device 603 may receive input numeric or character information and generate key signal inputs related to performing user settings and function control of the electronic apparatus for transmitting data, such as an input device like a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, etc. The output devices 604 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the non-inductive connection can be realized, and the portable and attractive appearance is realized.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (13)

1. A method for transmitting data, comprising:
in response to the fact that the first terminal is successfully connected in a wireless connection mode, determining whether a first preset application installed in the first terminal is started completely;
in response to the fact that the first preset application is started completely, controlling a second terminal in wired connection to start a second preset application installed in the second terminal;
in response to determining that the second preset application is started completely, acquiring target data from the first terminal through the first preset application;
and sending the target data to the second terminal in a wired connection mode for the second preset application to analyze and display.
2. The method of claim 1, wherein the wireless connectivity means comprises a first connectivity means and a second connectivity means; and
the method further comprises the following steps:
in response to determining that the connection with the first terminal through the first connection mode is successful, sending identification information to the first terminal, wherein the identification information is used for connecting the first terminal through a second connection mode;
and responding to a connection request aiming at the identification information sent by the first terminal, and connecting the first terminal through the second connection mode.
3. The method of claim 2, wherein the first connection mode comprises a bluetooth connection mode and the second connection mode comprises a WiFi connection mode; and
the sending the identification information to the first terminal includes:
responding to the fact that the connection with the first terminal through the Bluetooth connection mode is successful, and sending a WiFi frequency band to the first terminal;
and in response to determining that the confirmation message aiming at the WiFi frequency band sent by the first terminal is received, sending identification information to the first terminal.
4. The method of claim 1, wherein the receiving target data from the first terminal through the first preset application comprises:
controlling the first terminal to record a screen of a third preset application to obtain a screen recording video;
and receiving the screen recording video from the first terminal through the first preset application.
5. The method of claim 1, wherein the method further comprises:
receiving an operation instruction of a user on the first device from the first device through the first preset application;
and sending the operation instruction to the second terminal for controlling the second terminal after the second preset application is analyzed.
6. An apparatus for transmitting data, comprising:
a state determination unit configured to determine whether a first preset application installed in a first terminal is started up and completed in response to a determination that a connection with the first terminal through a wireless connection is successful;
an application starting unit configured to control a second terminal connected by wire to start a second preset application installed therein in response to determining that the first preset application is started up;
a data acquisition unit configured to acquire target data from the first terminal through the first preset application in response to determining that the second preset application is started;
and the data sending unit is configured to send the target data to the second terminal in a wired connection mode so as to be analyzed and displayed by the second preset application.
7. The apparatus of claim 6, wherein the wireless connection means comprises a first connection means and a second connection means; and
the apparatus further comprises a wireless connection unit configured to:
in response to determining that the connection with the first terminal through the first connection mode is successful, sending identification information to the first terminal, wherein the identification information is used for connecting the first terminal through a second connection mode;
and responding to a connection request aiming at the identification information sent by the first terminal, and connecting the first terminal through the second connection mode.
8. The apparatus of claim 7, wherein the first connection comprises a bluetooth connection and the second connection comprises a WiFi connection; and
the apparatus further comprises a band negotiation unit configured to:
responding to the fact that the connection with the first terminal through the Bluetooth connection mode is successful, and sending a WiFi frequency band to the first terminal;
and in response to determining that the confirmation message aiming at the WiFi frequency band sent by the first terminal is received, sending identification information to the first terminal.
9. The apparatus of claim 6, wherein the data acquisition unit is further configured to:
controlling the first terminal to record a screen of a third preset application to obtain a screen recording video;
and receiving the screen recording video from the first terminal through the first preset application.
10. The apparatus of claim 6, wherein the apparatus further comprises an instruction transmission unit configured to:
receiving an operation instruction of a user on the first device from the first device through the first preset application;
and sending the operation instruction to the second terminal for controlling the second terminal after the second preset application is analyzed.
11. An electronic device for transmitting data, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
13. A computer program product comprising a computer program which, when executed by a computing unit, implements the method according to any one of claims 1-5.
CN202011508824.1A 2020-12-18 2020-12-18 Method, apparatus, device and storage medium for transmitting data Active CN112672313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011508824.1A CN112672313B (en) 2020-12-18 2020-12-18 Method, apparatus, device and storage medium for transmitting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011508824.1A CN112672313B (en) 2020-12-18 2020-12-18 Method, apparatus, device and storage medium for transmitting data

Publications (2)

Publication Number Publication Date
CN112672313A true CN112672313A (en) 2021-04-16
CN112672313B CN112672313B (en) 2023-04-25

Family

ID=75407290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011508824.1A Active CN112672313B (en) 2020-12-18 2020-12-18 Method, apparatus, device and storage medium for transmitting data

Country Status (1)

Country Link
CN (1) CN112672313B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113806264A (en) * 2021-09-06 2021-12-17 联想(北京)有限公司 Processing method and electronic equipment
CN115098052A (en) * 2022-06-15 2022-09-23 阿波罗智联(北京)科技有限公司 Screen projection method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168666A (en) * 2017-04-21 2017-09-15 陈景雄 The system and method for USB interface-based audio video transmission and multi-screen mapping
WO2018045561A1 (en) * 2016-09-09 2018-03-15 华为技术有限公司 File transmission method, file reception method and terminal
WO2018120494A1 (en) * 2016-12-30 2018-07-05 百度在线网络技术(北京)有限公司 Method, apparatus, and device for processing personalized information, and computer storage medium
CN108777861A (en) * 2018-05-30 2018-11-09 西安航天寰星电子科技有限公司 Quickly establish method, the chip of communication connection and high speed data transfer
CN111787394A (en) * 2020-06-19 2020-10-16 深圳市点嘀互联网络有限公司 Method for mapping audio data of mobile phone to car machine through embedded equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018045561A1 (en) * 2016-09-09 2018-03-15 华为技术有限公司 File transmission method, file reception method and terminal
WO2018120494A1 (en) * 2016-12-30 2018-07-05 百度在线网络技术(北京)有限公司 Method, apparatus, and device for processing personalized information, and computer storage medium
CN107168666A (en) * 2017-04-21 2017-09-15 陈景雄 The system and method for USB interface-based audio video transmission and multi-screen mapping
CN108777861A (en) * 2018-05-30 2018-11-09 西安航天寰星电子科技有限公司 Quickly establish method, the chip of communication connection and high speed data transfer
CN111787394A (en) * 2020-06-19 2020-10-16 深圳市点嘀互联网络有限公司 Method for mapping audio data of mobile phone to car machine through embedded equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113806264A (en) * 2021-09-06 2021-12-17 联想(北京)有限公司 Processing method and electronic equipment
CN115098052A (en) * 2022-06-15 2022-09-23 阿波罗智联(北京)科技有限公司 Screen projection method, device, equipment and storage medium
CN115098052B (en) * 2022-06-15 2023-10-13 阿波罗智联(北京)科技有限公司 Screen projection method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112672313B (en) 2023-04-25

Similar Documents

Publication Publication Date Title
KR102542734B1 (en) External visual interactions for speech-based devices
JP7262523B2 (en) Method, device, apparatus and storage medium for establishing wireless connection
WO2018006841A1 (en) Qr code information transmission method, device and apparatus
CN112672313B (en) Method, apparatus, device and storage medium for transmitting data
CN113377366B (en) Control editing method, device, equipment, readable storage medium and product
CN111645521B (en) Control method and device for intelligent rearview mirror, electronic equipment and storage medium
KR20150099891A (en) Data Transition Processing Method and Electronic Device supporting the same
CN106843932B (en) Method and system for upgrading firmware of virtual reality equipment
US20230350502A1 (en) Information input method, system of cloud input method and client
US10687207B2 (en) Method for data migration and terminal
US20170006108A1 (en) Navigation method, smart terminal device and wearable device
CN111541919A (en) Video frame transmission method and device, electronic equipment and readable storage medium
CN109408481B (en) Log collection rule updating method and device, electronic equipment and readable medium
WO2021078215A1 (en) Method for cross-terminal switching of cloud game and related device
WO2018120645A1 (en) Device connection method and terminal
CN113115101B (en) LED display screen, distributed information display system and control method
CN113301424B (en) Play control method, device, storage medium and program product
US20240007591A1 (en) Method and apparatus of interaction video connection, electronic device, and storage medium
WO2023104007A1 (en) Video special effect packet generation method and apparatus, device, and storage medium
US20230007460A1 (en) Method and system for segmenting and transmiting data between computing devices and vehicle head units
CN110704012A (en) Audio data processing method and device, electronic equipment and medium
CN112492520A (en) Positioning method, device, equipment and storage medium
CN115268821A (en) Audio playing method and device, equipment and medium
CN116069199A (en) Interface interaction method, electronic device, medium and program product
CN114153542A (en) Screen projection method and device, electronic equipment and computer readable storage medium

Legal Events

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

Effective date of registration: 20211012

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

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

Address before: 2 / F, baidu building, 10 Shangdi 10th Street, Haidian District, Beijing 100085

Applicant before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant