CN113438551A - Data transmission method, data transmission device, computer equipment and computer readable storage medium - Google Patents

Data transmission method, data transmission device, computer equipment and computer readable storage medium Download PDF

Info

Publication number
CN113438551A
CN113438551A CN202010208619.7A CN202010208619A CN113438551A CN 113438551 A CN113438551 A CN 113438551A CN 202010208619 A CN202010208619 A CN 202010208619A CN 113438551 A CN113438551 A CN 113438551A
Authority
CN
China
Prior art keywords
frame
user terminal
wearable device
data transmission
video
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
CN202010208619.7A
Other languages
Chinese (zh)
Other versions
CN113438551B (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.)
SKG Health Technologies Co Ltd.
Original Assignee
SKG Health Technologies 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 SKG Health Technologies Co Ltd. filed Critical SKG Health Technologies Co Ltd.
Priority to CN202010208619.7A priority Critical patent/CN113438551B/en
Publication of CN113438551A publication Critical patent/CN113438551A/en
Application granted granted Critical
Publication of CN113438551B publication Critical patent/CN113438551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Environmental & Geological Engineering (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application relates to a data transmission method, a data transmission device, computer equipment and a computer readable storage medium. The data transmission method comprises the following steps: if the wearable device is detected to be online, detecting whether the data transmission rate between the user terminal and the wearable device is lower than a preset threshold value; if the data transmission rate is not lower than the preset threshold, controlling the wearable equipment to send video data and positioning information to the user terminal; and if the data transmission rate is lower than the preset threshold value, controlling the wearable device to send the positioning information to the user terminal, and forbidding the wearable device to send the video data to the user terminal. By adopting the method, the data transmission stability between the wearable device and the user terminal can be improved.

Description

Data transmission method, data transmission device, computer equipment and computer readable storage medium
Technical Field
The present invention relates to the field of computer device technologies, and in particular, to a data transmission method and apparatus, a computer device, and a computer-readable storage medium.
Background
In recent years, more and more wearable devices are appearing in people's daily life, for example, eye massage apparatuses, neck massage apparatuses, and the like, which can be worn.
Due to the increased level of intelligence of wearable devices, wearable devices may be used to gather various data, such as video data, as well as positioning information, among others. Wearable equipment is connected through being connected with user terminal, with data transmission to user terminal of gathering to user terminal manages wearable equipment.
However, in the process of transmitting data to the user terminal by the wearable device, a phenomenon of unstable transmission such as data loss is likely to occur.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a data transmission method, an apparatus, a computer device and a computer-readable storage medium, which can improve stability of data transmission between a wearable device and a user terminal.
In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to a user terminal, and the method includes:
if the wearable device is detected to be online, detecting whether the data transmission rate between the user terminal and the wearable device is lower than a preset threshold value;
if the data transmission rate is not lower than the preset threshold, controlling the wearable equipment to send video data and positioning information to the user terminal;
and if the data transmission rate is lower than the preset threshold value, controlling the wearable device to send the positioning information to the user terminal, and forbidding the wearable device to send the video data to the user terminal.
In one embodiment, after the controlling the wearable device to transmit the video data and the positioning information to the user terminal, the method further includes:
detecting whether a video frame in the video data has a black screen phenomenon, and taking the video frame with the black screen phenomenon as a target frame;
detecting whether the similarity between the key frame of the first frame and the key frame of the second frame is greater than a first similarity threshold; the key frame of the first frame, the key frame of the second frame and the target frame are sequentially adjacent in time sequence;
and if the similarity between the key frame of the first frame and the key frame of the second frame is greater than the first similarity threshold, replacing the key frame of the target frame with the key frame of the second frame.
In one embodiment, after the controlling the wearable device to transmit the video data and the positioning information to the user terminal, the method further includes:
detecting whether a video frame in the video data has a screen splash phenomenon or not, and taking the video frame with the screen splash phenomenon as a target frame;
detecting whether a similarity between the difference frame of the first frame and the difference frame of the second frame is greater than a second similarity threshold; the difference frame of the first frame, the difference frame of the second frame and the target frame are sequentially adjacent in time sequence;
and if the similarity between the difference frame of the first frame and the difference frame of the second frame is greater than the second similarity threshold, replacing the difference frame of the target frame with the difference frame of the second frame.
In one embodiment, before detecting whether a data transmission rate between the user terminal and the wearable device is lower than a preset threshold value if the wearable device is detected to be online, the method further includes:
detecting whether the wearable device is online.
In one embodiment, the detecting whether the wearable device is online includes:
sending a first feedback information acquisition request to a cloud server, wherein the first feedback information acquisition request is used for indicating the cloud server to return first feedback information of the wearable device;
if the first feedback information is received, sending a second feedback information acquisition request to the cloud server after a preset time interval; the second feedback information acquisition request is used for indicating the cloud server to return second feedback information of the wearable device;
and if the second feedback information is received, determining that the wearable equipment is on line.
In one embodiment, the first feedback information includes location information of the wearable device, and after sending the second feedback information acquisition request to the cloud server, the method further includes:
if the second feedback information is not received, determining that the wearable equipment is offline;
and sending the positioning information of the wearable equipment, which is included in the first feedback information, to a target terminal bound by the wearable equipment.
In one embodiment, before controlling the wearable device to transmit the video data and the positioning information to the user terminal, the method further includes:
acquiring first reported information of a video acquisition device corresponding to the wearable equipment from a cloud server;
and at preset time intervals, if second reported information of the video acquisition device is acquired from the cloud server, determining that the video acquisition device is online.
In a second aspect, an embodiment of the present application provides a data transmission apparatus, including:
the first detection module is used for detecting whether the data transmission rate between the user terminal and the wearable device is lower than a preset threshold value or not if the wearable device is detected to be online;
the transmission control module is used for controlling the wearable equipment to send video data and positioning information to the user terminal if the data transmission rate is not lower than the preset threshold;
the transmission control module is further configured to control the wearable device to send the positioning information to the user terminal and prohibit the wearable device from sending the video data to the user terminal if the data transmission rate is lower than the preset threshold.
In a third aspect, an embodiment of the present application provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the method according to the first aspect when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the method according to the first aspect as described above.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
detecting whether the data transmission rate between the user terminal and the wearable device is lower than a preset threshold value or not if the wearable device is detected to be online; if the data transmission rate is not lower than the preset threshold, controlling the wearable equipment to send video data and positioning information to the user terminal; if the data transmission rate is lower than the preset threshold value, controlling the wearable device to send the positioning information to the user terminal, and prohibiting the wearable device from sending the video data to the user terminal; therefore, when the data transmission rate between the user terminal and the wearable equipment meets the requirement, namely is not lower than a preset threshold value, the user terminal receives video data and positioning information of the wearable equipment; when the data transmission rate between the user terminal and the wearable device is lower than the preset threshold value, the user terminal only keeps receiving the positioning information of the wearable device, the phenomenon of video blocking or data loss caused by accessing video data when the data transmission rate is low is avoided, the stability of data transmission between the wearable device and the user terminal is improved, and the efficient utilization of data transmission resources is realized.
Drawings
Fig. 1 is an application environment diagram of a data transmission method according to an embodiment;
fig. 2 is a schematic flowchart of a data transmission method according to an embodiment;
fig. 3 is a schematic flowchart of a data transmission method according to another embodiment;
fig. 4 is a schematic flowchart of a data transmission method according to another embodiment;
fig. 5 is a schematic flowchart of a data transmission method according to another embodiment;
fig. 6 is a schematic flowchart of a data transmission method according to another embodiment;
fig. 7 is a schematic flowchart of a data transmission method according to another embodiment;
fig. 8 is a schematic flowchart of a data transmission method according to another embodiment;
fig. 9 is a block diagram of a data transmission apparatus according to an embodiment;
FIG. 10 is an internal block diagram of a computer device provided in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The data transmission method, the data transmission device, the computer equipment and the computer readable storage medium aim at solving the technical problem that transmission instability such as data loss easily occurs in the process that wearable equipment transmits collected various data to a user terminal in the traditional technology. The following describes in detail the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems by embodiments and with reference to the drawings. The following specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
The data transmission method provided in the embodiment of the present application may be applied to an application environment shown in fig. 1, specifically, to a user terminal 101. As shown in fig. 1, if the user terminal 101 detects that the wearable device 102 is online, it detects whether a data transmission rate between the user terminal 101 and the wearable device 102 is lower than a preset threshold; if the data transmission rate is not lower than the preset threshold, the user terminal 101 controls the wearable device 102 to send video data and positioning information to the user terminal 101; if the data transmission rate is lower than the preset threshold, the user terminal 101 controls the wearable device 102 to send the positioning information to the user terminal 101, and prohibits the wearable device 102 from sending the video data to the user terminal 101. The user terminal 101 may be, but is not limited to, a smart phone, a tablet computer, and a portable wearable device. It is understood that the data transmission method provided by the following method embodiments may also be applied to a server, and may also be applied to a system including a user terminal and a server, and is implemented through interaction between the user terminal and the server.
It should be noted that, in the data transmission method provided in the embodiment of the present application, the execution main body may be a data transmission device, and the data transmission device may be implemented as part or all of a user terminal by software, hardware, or a combination of software and hardware. In the following method embodiments, the following method embodiments are all described by taking the case where the execution subject is a user terminal.
Please refer to fig. 2, which illustrates a flowchart of a data transmission method according to an embodiment of the present application. The embodiment relates to a specific implementation process of controlling transmission data by a user terminal according to a data transmission rate between the user terminal and a wearable device. As shown in fig. 2, the data transmission method of the present embodiment may include the following steps:
step S100, if it is detected that the wearable device is online, detecting whether a data transmission rate between the user terminal and the wearable device is lower than a preset threshold.
In this embodiment, the wearable device may be other wearable massage devices such as a neck massager and an eye massager, and in other embodiments, the wearable device may also be other wearable electronic devices having a data acquisition function, which is not limited herein.
If the user terminal detects that the wearable device is online, that is, data transmission between the user terminal and the wearable device can be normally performed, and the user terminal detects whether the data transmission rate between the user terminal and the wearable device is lower than a preset threshold value.
The user terminal compares the detected data transmission rate between the user terminal and the wearable device with a preset threshold, and the preset threshold can be set according to actual requirements when implemented, for example, the user terminal can set the data transmission rate capable of ensuring smooth reception of video data as the preset threshold, and the embodiment is not specifically limited herein.
And step S200, if the data transmission rate is not lower than a preset threshold, controlling the wearable equipment to send video data and positioning information to the user terminal.
In this embodiment, if the user terminal detects that the data transmission rate between the user terminal and the wearable device is not lower than the preset threshold, it indicates that the data transmission environment between the user terminal and the wearable device is good, the data transmission rate may meet the transmission requirement of video data, and the user terminal controls the wearable device to send the video data and the positioning information to the user terminal.
As an embodiment, when the user terminal detects that a data transmission rate between the user terminal and the wearable device is not lower than a preset threshold, the user terminal may send an instruction to the wearable device to instruct the wearable device to send video data and positioning information to the user terminal.
In this embodiment, the positioning information may be current location information of the wearable device, the video data may be usage video data of the wearable device, which is acquired by the video acquisition device, and the video acquisition device may be disposed in the wearable device, or may be separately disposed and communicatively connected to the wearable device, which is not limited herein; the user terminal can monitor the use specification condition of the wearable device and the use safety condition of the user through the video data, and the like.
And step S300, if the data transmission rate is lower than a preset threshold value, controlling the wearable device to send positioning information to the user terminal, and prohibiting the wearable device from sending video data to the user terminal.
If the user terminal detects that the data transmission rate between the user terminal and the wearable device is lower than the preset threshold value, it indicates that the data transmission environment between the user terminal and the wearable device is poor, and smooth receiving of video data cannot be ensured.
As an embodiment, when the user terminal detects that the data transmission rate between the user terminal and the wearable device is lower than a preset threshold, the user terminal may send an instruction to the wearable device to instruct the wearable device to send only the positioning information to the user terminal without sending video data, so that when the data transmission rate between the user terminal and the wearable device is lower than the preset threshold, the positioning information of the wearable device is kept received, and basic location management of the wearable device is realized; when the data transmission rate between the user terminal and the wearable device is not lower than the preset threshold value, the video data can be communicated, the wearable device is subjected to more detailed use management, and reasonable and efficient utilization of the data transmission rate is achieved.
In this embodiment, as an implementation manner, the user terminal may periodically detect whether the data transmission rate between the user terminal and the wearable device is lower than a preset threshold, that is, the user terminal detects whether the data transmission rate between the user terminal and the wearable device is lower than the preset threshold according to a preset time period, and therefore, the user terminal may implement dynamic data transmission control according to a change of the data transmission rate between the user terminal and the wearable device, ensure smooth transmission of transmission data, and avoid a problem of unstable data transmission between the user terminal and the wearable device.
In the embodiment, if the wearable device is detected to be online, whether the data transmission rate between the user terminal and the wearable device is lower than a preset threshold value is detected; if the data transmission rate is not lower than a preset threshold value, controlling the wearable equipment to send video data and positioning information to the user terminal; if the data transmission rate is lower than a preset threshold value, controlling the wearable equipment to send positioning information to the user terminal, and forbidding the wearable equipment to send video data to the user terminal; therefore, when the data transmission rate between the user terminal and the wearable equipment meets the requirement, namely is not lower than a preset threshold value, the user terminal receives the video data and the positioning information; when the data transmission rate between the user terminal and the wearable device is lower than the preset threshold value, the user terminal only keeps receiving the positioning information of the wearable device, the phenomenon of video blocking or data loss caused by accessing video data when the data transmission rate is low is avoided, the stability of data transmission between the wearable device and the user terminal is improved, and the efficient utilization of data transmission resources is realized.
Fig. 3 is a flowchart illustrating a data transmission method according to another embodiment. On the basis of the embodiment shown in fig. 2, as shown in fig. 3, in the data transmission method of this embodiment, step S200 is followed by step S410, step S420 and step S430, specifically:
step S410, detecting whether the video frame in the video data has the black screen phenomenon, and using the video frame with the black screen phenomenon as a target frame.
In this embodiment, after receiving video data sent by the wearable device, the user terminal detects whether a video frame in the video data has a black screen phenomenon, and if it is detected that the video frame has the black screen phenomenon, the video frame having the black screen phenomenon is used as a target frame.
In actual video compression, various algorithms are adopted to reduce the data capacity, for example, in an MPEG (Moving Picture Experts Group) encoding process, pictures (i.e., frames) of video data are divided into I, P, B three types, I is a key frame, P is a difference frame, B is a bidirectional difference frame, I is a complete reservation of the Picture of the frame, P represents the difference of the key frame (or P frame) before the frame, and B records the difference between the frame and previous and next frames. In this embodiment, for example, the video data includes consecutive video frames as follows: ipbpbbpipbpbpbppb.
In step S420, it is detected whether the similarity between the key frame of the first frame and the key frame of the second frame is greater than a first similarity threshold.
The key frame of the first frame, the key frame of the second frame and the target frame are adjacent in sequence in time sequence.
In this embodiment, to more clearly illustrate the relationship between the key frame of the first frame, the key frame of the second frame, and the target frame in time sequence, continuing the above example, for example, the video data includes consecutive video frames: ipbpbbpipbpippb.. in the video data, if the key frame of the first frame is the first I frame of all key frames in the video data, the key frame of the second frame is the second I frame of all key frames in the video data, and the target frame is the third I frame of all key frames in the video data; if the key frame of the first frame is the second I frame of all key frames in the video data, the key frame of the second frame is the third I frame of all key frames in the video data, the target frame is the fourth I frame of all key frames in the video data, and so on. That is, a P frame and/or a B frame exist between every two of the key frame of the first frame, the key frame of the second frame, and the target frame, but no other key frame exists between the key frame of the first frame and the key frame of the second frame, and between the key frame of the second frame and the target frame, and the key frame of the first frame, the key frame of the second frame, and the target frame are sequentially adjacent in the time sequence of the key frame.
In this embodiment, as an implementation manner, the user terminal may be provided with a cloud storage and a cloud comparator, the video data is stored in the cloud storage, and the video data may be uploaded to the cloud storage by the user terminal or uploaded to the cloud storage by the wearable device, which is not limited specifically herein. If the user terminal detects that the target frame in the video data has a black screen phenomenon, the similarity between the key frame of the first frame and the key frame of the second frame is detected through the cloud comparator.
The user terminal obtains a detection result of the cloud comparator, namely the similarity between the key frame of the first frame and the key frame of the second frame, and then detects whether the similarity between the key frame of the first frame and the key frame of the second frame is greater than a first similarity threshold value or not; for example, the similarity between the key frame of the first frame and the key frame of the second frame detected by the cloud comparator is 96%, the first similarity threshold is set to be 95% in this embodiment, and the user terminal may determine that the similarity between the key frame of the first frame and the key frame of the second frame is greater than the first similarity threshold by comparing the similarity between the key frame of the first frame and the key frame of the second frame with the first similarity threshold. In other embodiments, the first similarity threshold may be set according to the actual implementation.
In other embodiments, as an implementation manner, the user terminal may further extract a color histogram of the key frame of the first frame and a color histogram of the key frame of the second frame, and obtain a similarity between the key frame of the first frame and the key frame of the second frame by comparing the color histogram of the key frame of the first frame and the color histogram of the key frame of the second frame, where the color histograms describe proportions of different colors in the entire image.
In step S430, if the similarity between the key frame of the first frame and the key frame of the second frame is greater than the first similarity threshold, the key frame of the target frame is replaced with the key frame of the second frame.
If the user terminal detects that the similarity between the key frame of the first frame and the key frame of the second frame is larger than a first similarity threshold value, the key frame of the second frame is called from the cloud storage, and the key frame of the target frame is replaced by the key frame of the second frame, namely the key frame at the last moment of the target frame is called to be used as the key frame at the moment of replacing the black screen, so that the black screen phenomenon of the target frame is repaired.
The embodiment detects whether a video frame in video data has a black screen phenomenon, and takes the video frame with the black screen phenomenon as a target frame; detecting whether the similarity between the key frame of the first frame and the key frame of the second frame is greater than a first similarity threshold; the key frame of the first frame, the key frame of the second frame and the target frame are adjacent in sequence in time sequence; if the similarity between the key frame of the first frame and the key frame of the second frame is greater than a first similarity threshold, replacing the key frame of the target frame with the key frame of the second frame; from this, if the condition of video data black screen appears, user terminal can restore video data's black screen phenomenon, has avoided losing because the data that video data's black screen phenomenon caused, and this embodiment has further promoted data transmission stability between wearable equipment and the user terminal.
Fig. 4 is a flowchart illustrating a data transmission method according to another embodiment. On the basis of the embodiment shown in fig. 2, as shown in fig. 4, in the data transmission method of this embodiment, step S200 further includes step S510, step S520, and step S530, specifically:
step S510, detecting whether a video frame in the video data has a screen splash phenomenon, and using the video frame having the screen splash phenomenon as a target frame.
In this embodiment, after receiving video data sent by the wearable device, the user terminal detects whether a video frame in the video data has a screen splash phenomenon, and if it is detected that the video frame has the screen splash phenomenon, the video frame with the screen splash phenomenon is used as a target frame.
In step S520, it is detected whether the similarity between the difference frame of the first frame and the difference frame of the second frame is greater than a second similarity threshold.
The difference frame of the first frame, the difference frame of the second frame and the target frame are adjacent in sequence in time sequence.
In this embodiment, to more clearly illustrate the relationship between the difference frame of the first frame, the difference frame of the second frame, and the target frame in time sequence, continuing the above example, for example, the video data includes consecutive video frames: ipbpbbpipbpippb.. in the video data, if a difference frame of a first frame is a first P frame of all difference frames in the video data, a difference frame of a second frame is a second P frame of all difference frames in the video data, and a target frame is a third P frame of all difference frames in the video data; if the difference frame of the first frame is the second P frame of all the difference frames in the video data, the difference frame of the second frame is the third P frame of all the difference frames in the video data, the target frame is the fourth P frame of all the difference frames in the video data, and so on. Namely, the difference frame of the first frame, the difference frame of the second frame and the target frame are adjacent in sequence in the timing sequence of the difference frame.
In this embodiment, as an implementation manner, the user terminal may be provided with a cloud storage and a cloud comparator, the video data is stored in the cloud storage, and the video data may be uploaded to the cloud storage by the user terminal or uploaded to the cloud storage by the wearable device, which is not limited specifically herein. If the user terminal detects that the target frame in the video data has a screen splash phenomenon, the similarity between the difference frame of the first frame and the difference frame of the second frame is detected through the cloud comparator.
The user terminal obtains a detection result of the cloud comparator, namely the similarity between the difference frame of the first frame and the difference frame of the second frame, and then detects whether the similarity between the difference frame of the first frame and the difference frame of the second frame is larger than a second similarity threshold value or not; for example, the similarity between the difference frame of the first frame and the difference frame of the second frame detected by the cloud comparator is 97%, the second similarity threshold is set to be 94% in this embodiment, and the user terminal may determine that the similarity between the difference frame of the first frame and the difference frame of the second frame is greater than the second similarity threshold by comparing the similarity between the difference frame of the first frame and the difference frame of the second frame with the second similarity threshold. In other embodiments, the second similarity threshold may be set according to actual implementation.
In step S530, if the similarity between the difference frame of the first frame and the difference frame of the second frame is greater than the second similarity threshold, the difference frame of the target frame is replaced with the difference frame of the second frame.
If the user terminal detects that the similarity between the difference frame of the first frame and the difference frame of the second frame is larger than a second similarity threshold value, the difference frame of the second frame is called from the cloud storage, and the difference frame of the target frame is replaced by the difference frame of the second frame, namely the difference frame at the last moment of the called target frame is used as the difference frame at the moment of replacing the screen splash, so that the screen splash phenomenon of the target frame is repaired.
The embodiment detects whether the video frame in the video data has the screen splash phenomenon, and takes the video frame with the screen splash phenomenon as a target frame; detecting whether a similarity between the difference frame of the first frame and the difference frame of the second frame is greater than a second similarity threshold; the difference frame of the first frame, the difference frame of the second frame and the target frame are adjacent in sequence in time sequence; if the similarity between the difference frame of the first frame and the difference frame of the second frame is greater than a second similarity threshold, replacing the difference frame of the target frame with the difference frame of the second frame; from this, when the condition of the video data screen splash appears, user terminal can restore video data's screen splash phenomenon, has avoided losing because the data that video data's screen splash phenomenon caused, and this embodiment has further promoted data transmission stability between wearable equipment and the user terminal.
Fig. 5 is a flowchart illustrating a data transmission method according to another embodiment. On the basis of the embodiment shown in fig. 2, as shown in fig. 5, step S100 of this embodiment further includes step S600, specifically:
step S600, whether the wearable device is on line or not is detected.
In this embodiment, the user terminal detects whether the wearable device is online, as an implementation manner, the user terminal may send a response instruction to the wearable device, and if a response feedback of the wearable device for the response instruction is received within a preset time period, it is determined that the wearable device is online, where the preset time period is set to be, for example, 5 seconds.
In other embodiments, in order to ensure the online detection reliability of the wearable device, as an implementation manner, the user terminal may further send a response instruction to the wearable device again after receiving a response feedback of the wearable device for the response instruction within a preset time period, and determine that the wearable device is online if receiving a response feedback of the wearable device for the response instruction again within the preset time period.
If the user terminal detects that the wearable equipment is on line, whether the data transmission rate between the user terminal and the wearable equipment is lower than a preset threshold value or not is detected, and therefore resource waste caused by data transmission rate detection of the off-line wearable equipment is avoided.
Fig. 6 is a flowchart illustrating a data transmission method according to another embodiment. On the basis of the embodiment shown in fig. 5, as shown in fig. 6, step S600 of the present embodiment includes step S610, step S620 and step S630, specifically:
step S610, a first feedback information acquisition request is sent to the cloud server.
The first feedback information acquisition request is used for indicating the cloud server to return first feedback information of the wearable device.
In this embodiment, the user terminal detects whether the wearable device is online by calling the feedback information of the wearable device from the cloud server. Specifically, the user terminal sends a first feedback information acquisition request to the cloud server, where the first feedback information acquisition request may include an identification code of the wearable device.
The first feedback information may be device location and device state information uploaded to the cloud server by the wearable device, and the first feedback information may be that the user terminal instructs the wearable device to upload to the cloud server through an upload instruction, and may also be uploaded to the cloud server by the wearable device through a set timed upload task, which is not limited specifically herein.
In step S620, if the first feedback information is received, a second feedback information acquisition request is sent to the cloud server after a preset time interval.
The second feedback information acquisition request is used for indicating the cloud server to return second feedback information of the wearable device.
If the user terminal downloads the first feedback information from the cloud server, a second feedback information acquisition request is sent to the cloud server after a preset time interval, so that the reliability of online detection of the wearable device is ensured.
In step S630, if the second feedback information is received, it is determined that the wearable device is online.
If the user terminal receives the second feedback information, the wearable device is determined to be on-line; if the wearable device is online, the user terminal detects whether the data transmission rate between the user terminal and the wearable device is lower than a preset threshold value; if the data transmission rate is not lower than a preset threshold value, controlling the wearable equipment to send video data and positioning information to the user terminal; if the data transmission rate is lower than a preset threshold value, controlling the wearable equipment to send positioning information to the user terminal, and forbidding the wearable equipment to send video data to the user terminal; therefore, when the wearable equipment is on line, the user terminal can at least track the positioning information of the wearable equipment, the user terminal can timely detect the positioning information, when the data transmission rate meets the requirement, the video data is connected, and efficient utilization of data transmission resources between the user terminal and the wearable equipment is achieved.
Fig. 7 is a flowchart illustrating a data transmission method according to another embodiment. On the basis of the embodiment shown in fig. 6, as shown in fig. 7, step S620 of this embodiment further includes step S640 and step S650, specifically:
step S640, if the second feedback information is not received, it is determined that the wearable device is offline.
In this embodiment, the user terminal sends a first feedback information acquisition request to the cloud server, and if the first feedback information is received, the first feedback information includes positioning information of the wearable device, the user terminal sends a second feedback information acquisition request to the cloud server after a preset time interval, and if the second feedback information is not received, it is determined that the wearable device is offline. The first feedback information is final response feedback information of the wearable device, and the positioning information included in the first feedback information is final positioning of the wearable device before offline.
In this embodiment, as an implementation manner, if the user terminal does not receive the second feedback information, after the interval preset duration, the user terminal may send a feedback information acquisition request to the cloud server again to determine that the wearable device is offline.
Step S650, sending the positioning information of the wearable device included in the first feedback information to the target terminal bound to the wearable device.
After the wearable device is determined to be offline, the user terminal sends the positioning information of the wearable device, which is included by the first feedback information, to the target terminal bound by the wearable device through final positioning before the wearable device is offline, and the target terminal can be a contact terminal recorded by a cloud server and reserved by a purchaser who purchases the wearable device, so that the purchaser can be reminded, and the wearable device is prevented from being lost.
Fig. 8 is a flowchart illustrating a data transmission method according to another embodiment. On the basis of the embodiment shown in fig. 2, as shown in fig. 8, step S200 of the present embodiment includes step S210, step S220, and step S230, specifically:
step S210, if the data transmission rate is not lower than the preset threshold, obtain first reporting information of the video acquisition device corresponding to the wearable device from the cloud server.
In this embodiment, if the data transmission rate between the user terminal and the wearable device is not lower than the preset threshold, that is, the data transmission rate between the user terminal and the wearable device satisfies the condition of video data transmission, the user terminal performs online detection on the video acquisition device.
In this embodiment, the video capture device may be disposed in the wearable device, or may be disposed separately and communicatively connected to the wearable device, and the wearable device captures video data through the video capture device.
The user terminal obtains first reporting information of a video acquisition device corresponding to the wearable device from the cloud server, the reporting information can be that the user terminal sends an instruction to the wearable device to indicate the video acquisition device to report to the cloud server, and the reporting information can be state information of the video acquisition device, and the like.
And step S220, a preset time period is set, and if second reporting information of the video acquisition device is acquired from the cloud server, the video acquisition device is determined to be on-line.
If the user terminal acquires first reporting information of a video acquisition device corresponding to the wearable device from the cloud server, acquiring second reporting information of the video acquisition device from the cloud server at preset time intervals, and if the second reporting information is acquired, determining that the video acquisition device is on line.
And step S230, controlling the wearable device to send video data and positioning information to the user terminal.
After the video acquisition device is determined to be online, the user terminal controls the wearable equipment to send video data and positioning information to the user terminal, specifically, controls the wearable equipment to send the positioning information to the user terminal and controls the wearable equipment to send the video data acquired by the video acquisition device.
Therefore, if the user terminal detects that the data transmission rate between the user terminal and the wearable device is not lower than a preset threshold value, first reporting information of a video acquisition device corresponding to the wearable device is obtained from the cloud server at intervals of a preset time period, and if second reporting information of the video acquisition device is obtained from the cloud server, the video acquisition device is determined to be on-line, and the wearable device is controlled to send video data and positioning information to the user terminal; when the data transmission rate is not lower than the preset threshold value, the video data can be smoothly acquired, and the stability of data transmission between the wearable device and the user terminal is improved.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in the above-described flowcharts may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 9, there is provided a data transmission apparatus including:
a first detection module 10, configured to detect whether a data transmission rate between the user terminal and the wearable device is lower than a preset threshold;
a transmission control module 20, configured to control the wearable device to send video data and positioning information to the user terminal if the data transmission rate is not lower than the preset threshold;
the transmission control module 20 is further configured to control the wearable device to send the positioning information to the user terminal and prohibit the wearable device from sending the video data to the user terminal if the data transmission rate is lower than the preset threshold.
Optionally, the apparatus further comprises:
the black screen detection module is used for detecting whether a video frame in the video data has a black screen phenomenon or not and taking the video frame with the black screen phenomenon as a target frame;
the key frame similarity detection module is used for detecting whether the similarity between the key frame of the first frame and the key frame of the second frame is greater than a first similarity threshold value or not; the first frame, the second frame and the target frame are adjacent in sequence in time sequence;
and the blank screen repairing module is used for replacing the key frame of the target frame with the key frame of the second frame if the similarity between the key frame of the first frame and the key frame of the second frame is greater than the first similarity threshold.
Optionally, the apparatus further comprises:
the screen-blooming detection module is used for detecting whether a video frame in the video data has a screen-blooming phenomenon or not and taking the video frame with the screen-blooming phenomenon as a target frame;
a difference frame similarity detection module for detecting whether a similarity between a difference frame of the first frame and a difference frame of the second frame is greater than a second similarity threshold; the first frame, the second frame and the target frame are adjacent in sequence in time sequence;
and the screen splash repairing module is used for replacing the difference frame of the target frame with the difference frame of the second frame if the similarity between the difference frame of the first frame and the difference frame of the second frame is greater than the second similarity threshold.
Optionally, the apparatus further comprises:
the second detection module is used for detecting whether the wearable equipment is online or not;
correspondingly, the first detection module comprises:
a detection submodule, configured to detect whether a data transmission rate between the user terminal and the wearable device is lower than the preset threshold if the wearable device is online.
Optionally, the second detection module includes:
the first obtaining submodule is used for sending a first feedback information obtaining request to a cloud server, and the first feedback information obtaining request is used for indicating the cloud server to return first feedback information of the wearable device;
the second obtaining submodule is used for sending a second feedback information obtaining request to the cloud server after a preset time interval if the first feedback information is received; the second feedback information acquisition request is used for indicating the cloud server to return second feedback information of the wearable device;
and the first determining submodule is used for determining that the wearable equipment is on line if the second feedback information is received.
Optionally, the first feedback information includes positioning information of the wearable device, and the second detection module further includes:
a second determining submodule, configured to determine that the wearable device is offline if the second feedback information is not received;
and the sending submodule is used for sending the positioning information to the target terminal bound by the wearable equipment.
Optionally, the transmission control module 20 is further configured to obtain, from a cloud server, first reporting information of a video acquisition device corresponding to the wearable device; and at preset time intervals, if second reported information of the video acquisition device is acquired from the cloud server, determining that the video acquisition device is online.
The data transmission apparatus provided in this embodiment may implement the data transmission method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again. For specific limitations of the data transmission device, reference may be made to the above limitations of the data transmission method, which are not described herein again. The modules in the data transmission device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, there is also provided a computer device as shown in fig. 10, the computer device may be a terminal, and its internal structure diagram may be as shown in fig. 10. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a data transmission method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 10 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
if the wearable device is detected to be online, detecting whether the data transmission rate between the user terminal and the wearable device is lower than a preset threshold value;
if the data transmission rate is not lower than the preset threshold, controlling the wearable equipment to send video data and positioning information to the user terminal;
and if the data transmission rate is lower than the preset threshold value, controlling the wearable device to send the positioning information to the user terminal, and forbidding the wearable device to send the video data to the user terminal.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
detecting whether a video frame in the video data has a black screen phenomenon, and taking the video frame with the black screen phenomenon as a target frame;
detecting whether the similarity between the key frame of the first frame and the key frame of the second frame is greater than a first similarity threshold; the key frame of the first frame, the key frame of the second frame and the target frame are sequentially adjacent in time sequence;
and if the similarity between the key frame of the first frame and the key frame of the second frame is greater than the first similarity threshold, replacing the key frame of the target frame with the key frame of the second frame.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
detecting whether a video frame in the video data has a screen splash phenomenon or not, and taking the video frame with the screen splash phenomenon as a target frame;
detecting whether a similarity between the difference frame of the first frame and the difference frame of the second frame is greater than a second similarity threshold; the difference frame of the first frame, the difference frame of the second frame and the target frame are sequentially adjacent in time sequence;
and if the similarity between the difference frame of the first frame and the difference frame of the second frame is greater than the second similarity threshold, replacing the difference frame of the target frame with the difference frame of the second frame.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
detecting whether the wearable device is online.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
sending a first feedback information acquisition request to a cloud server, wherein the first feedback information acquisition request is used for indicating the cloud server to return first feedback information of the wearable device;
if the first feedback information is received, sending a second feedback information acquisition request to the cloud server after a preset time interval; the second feedback information acquisition request is used for indicating the cloud server to return second feedback information of the wearable device;
and if the second feedback information is received, determining that the wearable equipment is on line.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
if the second feedback information is not received, determining that the wearable equipment is offline;
and sending the positioning information of the wearable equipment, which is included in the first feedback information, to a target terminal bound by the wearable equipment.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring first reported information of a video acquisition device corresponding to the wearable equipment from a cloud server;
and at preset time intervals, if second reported information of the video acquisition device is acquired from the cloud server, determining that the video acquisition device is online.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Ramb microsecond direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
if the wearable device is detected to be online, detecting whether the data transmission rate between the user terminal and the wearable device is lower than a preset threshold value;
if the data transmission rate is not lower than the preset threshold, controlling the wearable equipment to send video data and positioning information to the user terminal;
and if the data transmission rate is lower than the preset threshold value, controlling the wearable device to send the positioning information to the user terminal, and forbidding the wearable device to send the video data to the user terminal.
In one embodiment, the computer program when executed by the processor further performs the steps of:
detecting whether a video frame in the video data has a black screen phenomenon, and taking the video frame with the black screen phenomenon as a target frame;
detecting whether the similarity between the key frame of the first frame and the key frame of the second frame is greater than a first similarity threshold; the key frame of the first frame, the key frame of the second frame and the target frame are sequentially adjacent in time sequence;
and if the similarity between the key frame of the first frame and the key frame of the second frame is greater than the first similarity threshold, replacing the key frame of the target frame with the key frame of the second frame.
In one embodiment, the computer program when executed by the processor further performs the steps of:
detecting whether a video frame in the video data has a screen splash phenomenon or not, and taking the video frame with the screen splash phenomenon as a target frame;
detecting whether a similarity between the difference frame of the first frame and the difference frame of the second frame is greater than a second similarity threshold; the difference frame of the first frame, the difference frame of the second frame and the target frame are sequentially adjacent in time sequence;
and if the similarity between the difference frame of the first frame and the difference frame of the second frame is greater than the second similarity threshold, replacing the difference frame of the target frame with the difference frame of the second frame.
In one embodiment, the computer program when executed by the processor further performs the steps of:
detecting whether the wearable device is online.
In one embodiment, the computer program when executed by the processor further performs the steps of:
sending a first feedback information acquisition request to a cloud server, wherein the first feedback information acquisition request is used for indicating the cloud server to return first feedback information of the wearable device;
if the first feedback information is received, sending a second feedback information acquisition request to the cloud server after a preset time interval; the second feedback information acquisition request is used for indicating the cloud server to return second feedback information of the wearable device;
and if the second feedback information is received, determining that the wearable equipment is on line.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the second feedback information is not received, determining that the wearable equipment is offline;
and sending the positioning information of the wearable equipment, which is included in the first feedback information, to a target terminal bound by the wearable equipment.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring first reported information of a video acquisition device corresponding to the wearable equipment from a cloud server;
and at preset time intervals, if second reported information of the video acquisition device is acquired from the cloud server, determining that the video acquisition device is online.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only show some embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A data transmission method, applied to a user terminal, the method comprising:
if the wearable device is detected to be online, detecting whether the data transmission rate between the user terminal and the wearable device is lower than a preset threshold value;
if the data transmission rate is not lower than the preset threshold, controlling the wearable equipment to send video data and positioning information to the user terminal;
and if the data transmission rate is lower than the preset threshold value, controlling the wearable device to send the positioning information to the user terminal, and forbidding the wearable device to send the video data to the user terminal.
2. The method of claim 1, wherein after controlling the wearable device to transmit video data and positioning information to the user terminal, further comprising:
detecting whether a video frame in the video data has a black screen phenomenon, and taking the video frame with the black screen phenomenon as a target frame;
detecting whether the similarity between the key frame of the first frame and the key frame of the second frame is greater than a first similarity threshold; the key frame of the first frame, the key frame of the second frame and the target frame are sequentially adjacent in time sequence;
and if the similarity between the key frame of the first frame and the key frame of the second frame is greater than the first similarity threshold, replacing the key frame of the target frame with the key frame of the second frame.
3. The method of claim 1, wherein after controlling the wearable device to transmit video data and positioning information to the user terminal, further comprising:
detecting whether a video frame in the video data has a screen splash phenomenon or not, and taking the video frame with the screen splash phenomenon as a target frame;
detecting whether a similarity between the difference frame of the first frame and the difference frame of the second frame is greater than a second similarity threshold; the difference frame of the first frame, the difference frame of the second frame and the target frame are sequentially adjacent in time sequence;
and if the similarity between the difference frame of the first frame and the difference frame of the second frame is greater than the second similarity threshold, replacing the difference frame of the target frame with the difference frame of the second frame.
4. The method of claim 1, wherein before detecting whether a data transmission rate between the user terminal and the wearable device is lower than a preset threshold if the wearable device is detected to be online, the method further comprises:
detecting whether the wearable device is online.
5. The method of claim 4, wherein the detecting whether the wearable device is online comprises:
sending a first feedback information acquisition request to a cloud server, wherein the first feedback information acquisition request is used for indicating the cloud server to return first feedback information of the wearable device;
if the first feedback information is received, sending a second feedback information acquisition request to the cloud server after a preset time interval; the second feedback information acquisition request is used for indicating the cloud server to return second feedback information of the wearable device;
and if the second feedback information is received, determining that the wearable equipment is on line.
6. The method of claim 5, wherein the first feedback information comprises positioning information of the wearable device, and wherein after sending the second feedback information acquisition request to the cloud server, the method further comprises:
if the second feedback information is not received, determining that the wearable equipment is offline;
and sending the positioning information of the wearable equipment, which is included in the first feedback information, to a target terminal bound by the wearable equipment.
7. The method of claim 1, wherein before controlling the wearable device to send video data and positioning information to the user terminal, further comprising:
acquiring first reported information of a video acquisition device corresponding to the wearable equipment from a cloud server;
and at preset time intervals, if second reported information of the video acquisition device is acquired from the cloud server, determining that the video acquisition device is online.
8. A data transmission apparatus, characterized in that the apparatus comprises:
the first detection module is used for detecting whether the data transmission rate between the user terminal and the wearable equipment is lower than a preset threshold value or not if the wearable equipment is detected to be online;
the transmission control module is used for controlling the wearable equipment to send video data and positioning information to the user terminal if the data transmission rate is not lower than the preset threshold;
the transmission control module is further configured to control the wearable device to send the positioning information to the user terminal and prohibit the wearable device from sending the video data to the user terminal if the data transmission rate is lower than the preset threshold.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010208619.7A 2020-03-23 2020-03-23 Data transmission method, device, computer equipment and computer readable storage medium Active CN113438551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010208619.7A CN113438551B (en) 2020-03-23 2020-03-23 Data transmission method, device, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010208619.7A CN113438551B (en) 2020-03-23 2020-03-23 Data transmission method, device, computer equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113438551A true CN113438551A (en) 2021-09-24
CN113438551B CN113438551B (en) 2023-06-27

Family

ID=77752573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010208619.7A Active CN113438551B (en) 2020-03-23 2020-03-23 Data transmission method, device, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113438551B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130336627A1 (en) * 2012-06-18 2013-12-19 Micropower Technologies, Inc. Synchronizing the storing of streaming video
CN104622434A (en) * 2015-02-02 2015-05-20 南京磐云信息科技有限公司 Remote data collection system for wearable equipment and control method thereof
CN105554787A (en) * 2015-12-21 2016-05-04 北京奇虎科技有限公司 Data transmission method, intelligent acquisition equipment, intelligent terminal and cloud server
CN105554692A (en) * 2015-12-26 2016-05-04 魅族科技(中国)有限公司 Data sending method and device
CN107657591A (en) * 2017-09-05 2018-02-02 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN108055692A (en) * 2018-01-23 2018-05-18 广东小天才科技有限公司 A kind of radio network extending method and wearable device
CN108184128A (en) * 2018-01-11 2018-06-19 安徽优思天成智能科技有限公司 Video sequence lost frames prediction restoration methods based on deep neural network
CN108271001A (en) * 2018-03-20 2018-07-10 胡晓慧 A kind of visualization safety precaution and remote command scheduling system
CN110139058A (en) * 2018-09-29 2019-08-16 广东小天才科技有限公司 A kind of video call method and wearable device
CN110266582A (en) * 2019-05-29 2019-09-20 深圳市梦网科技发展有限公司 A kind of information push method, system, server and communication terminal
CN110875906A (en) * 2018-08-31 2020-03-10 中兴通讯股份有限公司 Image recovery method and encoding end

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130336627A1 (en) * 2012-06-18 2013-12-19 Micropower Technologies, Inc. Synchronizing the storing of streaming video
CN104622434A (en) * 2015-02-02 2015-05-20 南京磐云信息科技有限公司 Remote data collection system for wearable equipment and control method thereof
CN105554787A (en) * 2015-12-21 2016-05-04 北京奇虎科技有限公司 Data transmission method, intelligent acquisition equipment, intelligent terminal and cloud server
CN105554692A (en) * 2015-12-26 2016-05-04 魅族科技(中国)有限公司 Data sending method and device
CN107657591A (en) * 2017-09-05 2018-02-02 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN108184128A (en) * 2018-01-11 2018-06-19 安徽优思天成智能科技有限公司 Video sequence lost frames prediction restoration methods based on deep neural network
CN108055692A (en) * 2018-01-23 2018-05-18 广东小天才科技有限公司 A kind of radio network extending method and wearable device
CN108271001A (en) * 2018-03-20 2018-07-10 胡晓慧 A kind of visualization safety precaution and remote command scheduling system
CN110875906A (en) * 2018-08-31 2020-03-10 中兴通讯股份有限公司 Image recovery method and encoding end
CN110139058A (en) * 2018-09-29 2019-08-16 广东小天才科技有限公司 A kind of video call method and wearable device
CN110266582A (en) * 2019-05-29 2019-09-20 深圳市梦网科技发展有限公司 A kind of information push method, system, server and communication terminal

Also Published As

Publication number Publication date
CN113438551B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
CN110049324B (en) Video encoding method, system, device, and computer-readable storage medium
CN110096996B (en) Biological information identification method, device, terminal, system and storage medium
CN112333556B (en) Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium
CN110765847B (en) Font adjustment method, device, equipment and medium based on face recognition
US20130055271A1 (en) Apparatus and method for controlling polling
CN111405273A (en) Camera operation and maintenance method and system
CN104980775A (en) Method of video streaming, corresponding device and system
CN113658219A (en) High-altitude parabolic detection method, device and system, electronic device and storage medium
CN110659564A (en) Method and device for tracking users in area, computer equipment and storage medium
CN114172892A (en) File uploading method and device
CN114743239A (en) Control method, device and system of intelligent equipment and electronic equipment
CN109308778B (en) Mobile detection alarm method, device, acquisition equipment and storage medium
CN113438551A (en) Data transmission method, data transmission device, computer equipment and computer readable storage medium
CN103037153A (en) Monitoring method based on camera and electronic device with camera
CN113660465A (en) Image processing method, image processing device, readable medium and electronic equipment
CN110392417B (en) Power consumption management method, terminal, computer device, and storage medium
CN110049350B (en) Video transcoding processing method and device, computer equipment and storage medium
CN113660455B (en) Method, system and terminal for fall detection based on DVS data
CN115103156A (en) Dynamic video stream transmission method
CN111372240B (en) Picture uploading method and device, computer equipment and storage medium
CN113901873A (en) Power transmission line early warning method, device and system
CN115497252A (en) Early warning method and device for self-service equipment, computer equipment and storage medium
CN114338974A (en) Multi-channel activity path determination method, device, equipment and storage medium
CN116450390A (en) Watchdog detection method and electronic equipment
CN113421241A (en) Abnormal event reporting method and device, computer equipment and 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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 23af, building 3, zhongkekefa Park, 009 Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee after: Future wear Health Technology Co.,Ltd.

Address before: 23af, building 3, zhongkekefa Park, 009 Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee before: Future wearable technology Co.,Ltd.

Address after: 23af, building 3, zhongkekefa Park, 009 Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee after: Future wearable technology Co.,Ltd.

Address before: 23af, building 3, zhongkekefa Park, 009 Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee before: Future wearable technology Co.,Ltd.