CN108712676B - Method and device for automatically playing video based on React framework - Google Patents

Method and device for automatically playing video based on React framework Download PDF

Info

Publication number
CN108712676B
CN108712676B CN201810536436.0A CN201810536436A CN108712676B CN 108712676 B CN108712676 B CN 108712676B CN 201810536436 A CN201810536436 A CN 201810536436A CN 108712676 B CN108712676 B CN 108712676B
Authority
CN
China
Prior art keywords
video
current window
page
video element
judging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810536436.0A
Other languages
Chinese (zh)
Other versions
CN108712676A (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.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei Network 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 Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN201810536436.0A priority Critical patent/CN108712676B/en
Publication of CN108712676A publication Critical patent/CN108712676A/en
Application granted granted Critical
Publication of CN108712676B publication Critical patent/CN108712676B/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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4333Processing operations in response to a pause request
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows

Abstract

The invention discloses a method and a device for automatically playing a video based on a React frame, wherein the method comprises the following steps: packaging an original video assembly in the page to obtain a read video assembly; the React video component has first specified attribute information of the video elements; acquiring all video elements by using the first specified attribute information; sequentially judging whether each video element has a video element positioned in a current window of the page; and if the video element is judged to be positioned in the current window of the page, changing the video state of the first video element positioned in the current window into a playing state. The invention utilizes the React frame to encapsulate the original video assembly, so that the video automatic playing method realized by the method is not influenced by the system frame, the code is reused in different systems, the manpower development cost is reduced, and the development time is saved. And all video elements can be acquired at one time by utilizing the first specified attribute information in the React video component, so that subsequent judgment is facilitated.

Description

Method and device for automatically playing video based on React framework
Technical Field
The invention relates to the field of software, in particular to a method and a device for automatically playing a video based on a React framework.
Background
Compared with pictures, word descriptions and the like, the video can show information more clearly and attract the attention of a viewer. Therefore, many applications use video to present information. When the information is displayed in a video mode, when the video is in the current window of the application, the video is automatically played, the user does not need to manually trigger the playing again, and the user experience and the interaction effect are improved.
However, in the prior art, when the automatic video playing is implemented, the codes for the automatic video playing are limited by different system frames, such as an android system and an IOS system, different codes need to be written in different systems to implement the automatic video playing, so that the video playing codes need to be written according to the systems, and the labor cost and the time cost for code development and debugging are increased.
Disclosure of Invention
In view of the above problems, the present invention is proposed to provide a method and an apparatus for automatically playing a video based on a React frame, which overcome the above problems or at least partially solve the above problems.
According to one aspect of the invention, a video automatic playing method based on a React frame is provided, which comprises the following steps:
packaging, namely packaging an original video assembly in a page to obtain a React video assembly; the React video component has first specified attribute information of the video elements;
an acquisition step, acquiring all video elements by using first specified attribute information;
a judging step, namely sequentially judging whether each video element has a video element positioned in a current window of the page;
and a playing step, if the judging step judges that the video element is positioned in the current window of the page, playing the first video element positioned in the current window.
Optionally, the determining step further comprises:
acquiring a top height value of a current window of a page and a self height value of the current window of the page, and calculating to obtain a bottom height value of the current window of the page;
acquiring the top height value of each video element and the self height value of each video element, and calculating to obtain the bottom height value of each video element;
and sequentially judging whether the top height value of each video element is smaller than the top height value of the current window of the page or not and whether the bottom height value of each video element is larger than the bottom height value of the current window of the page or not.
Optionally, the read video component further has second specified attribute information for specifying a video state of the video element;
the playing step further comprises:
modifying the second specified attribute information of the video element into a playing state;
and calling a video state modification command of the original video component according to the second specified attribute information, and changing the video state of the video element into a playing state.
Optionally, after the playing step, the method further comprises:
monitoring a rolling event of a scroll bar in a current window of a page, and judging whether the scroll bar of the current window is rolling;
if so, the video state of the video element is changed to the pause state.
Optionally, after changing the video state of the video element to the paused state, the method further comprises:
judging whether the scroll bar of the current window stops rolling at each interval of preset time;
if so, executing a judging step, and if the judging step judges that the video element is positioned in the current window of the page, changing the video state of the video element into a playing state.
Optionally, if it is determined in the determining step that the video element is located in the current window of the page, changing the video state of the video element to the playing state further includes:
if the judging step judges that the video element is positioned in the current window of the page and the video state of the video element is in the pause state, the video state of the video element is changed into the play state, and the video element is played at the breakpoint.
Optionally, the determining, every preset time, whether the scroll bar of the current window stops scrolling further includes:
recording, namely recording an initial position value of the scroll bar in a current window;
acquiring a current position, namely acquiring a current position value of the scroll bar in a current window at intervals of preset time;
a stop judging step of judging whether the initial position value is equal to the current position value;
if the initial position value is equal to the current position value, the scroll bar of the current window stops rolling;
if the step of judging and stopping judges that the initial position value is not equal to the current position value, updating the initial position value to the current position value; and circularly executing the step of acquiring the current position and the step of judging and stopping until the initial position value is judged to be equal to the current position value.
Optionally, before determining whether the scroll bar of the current window stops scrolling at preset time intervals, the method further includes:
judging whether the timing execution marking value is unexecuted or not;
if yes, executing a recording step, and setting a timing execution mark value as being executed;
after the step of judging stop judges that the scroll bar of the current window stops rolling, the method further comprises the following steps:
the timer executed flag value is set to unexecuted.
Optionally, the page is an application web page.
According to another aspect of the present invention, there is provided an automatic video playing apparatus implemented based on a read frame, including:
the packaging module is suitable for packaging the original video assembly in the page to obtain a React video assembly; the React video component has first specified attribute information of the video elements;
the acquisition module is suitable for acquiring all video elements by utilizing the first specified attribute information;
the judging module is suitable for sequentially judging whether each video element has a video element positioned in the current window of the page;
and the playing module is suitable for playing the first video element in the current window if the judging module judges that the video element is positioned in the current window of the page.
Optionally, the determining module is further adapted to:
acquiring a top height value of a current window of a page and a self height value of the current window of the page, and calculating to obtain a bottom height value of the current window of the page;
acquiring the top height value of each video element and the self height value of each video element, and calculating to obtain the bottom height value of each video element;
and sequentially judging whether the top height value of each video element is smaller than the top height value of the current window of the page or not and whether the bottom height value of each video element is larger than the bottom height value of the current window of the page or not.
Optionally, the read video component further has second specified attribute information for specifying a video state of the video element;
the play module is further adapted to:
modifying the second specified attribute information of the video element into a playing state; and calling a video state modification command of the original video component according to the second specified attribute information, and changing the video state of the video element into a playing state.
Optionally, the apparatus further comprises:
the scroll judging module is suitable for monitoring a scroll event of a scroll bar in a current window of the page and judging whether the scroll bar of the current window is rolling or not;
and the pause module is suitable for changing the video state of the video element into a pause state if the scroll judging module judges that the scroll bar of the current window is scrolling.
Optionally, the apparatus further comprises:
the rolling stop judging module is suitable for judging whether the rolling bar of the current window stops rolling at each interval of preset time;
and the re-judging module is suitable for executing the judging module if the rolling stopping judging module judges that the scroll bar of the current window stops rolling, and changing the video state of the video element into the playing state if the judging module judges that the video element is positioned in the current window of the page.
Optionally, the re-determination module is further adapted to:
if the judgment module judges that the video element is positioned in the current window of the page and the video state of the video element is in the pause state, the video state of the video element is changed into the play state, and the video element is played at the breakpoint.
Optionally, the stop scrolling determination module further comprises:
the recording module is suitable for recording the initial position value of the scroll bar in the current window;
the current position obtaining module is suitable for obtaining the current position value of the scroll bar in the current window at each interval of preset time;
the judging and stopping module is suitable for judging whether the initial position value is equal to the current position value or not; if the initial position value is equal to the current position value, judging that the scroll bar of the current window stops rolling; if the initial position value is not equal to the current position value, updating the initial position value to the current position value;
and the circulating module is suitable for circularly executing the current position acquiring module and the stopping judging module until the initial position value is judged to be equal to the current position value.
Optionally, the stop scrolling determination module further comprises:
the execution judging module is suitable for judging whether the timing execution marking value is unexecuted or not;
the first setting module is suitable for executing the recording module and setting the timing execution marking value as being executed if the execution judging module judges that the timing execution marking value is not executed;
after the execution judgment stopping module judges that the scroll bar of the current window stops rolling, the rolling stopping judgment module further comprises:
and the second setting module is suitable for setting the timing execution flag value as unexecuted.
Optionally, the page is an application web page.
According to still another aspect of the present invention, there is provided an electronic apparatus including: the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the video automatic playing method based on the React frame.
According to still another aspect of the present invention, a computer storage medium is provided, where at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to perform an operation corresponding to the video automatic playing method implemented based on the fact framework as described above.
According to the method and the device for automatically playing the video based on the React frame, provided by the invention, an original video component in a page is encapsulated to obtain a React video component; the React video component has first specified attribute information of the video elements; acquiring all video elements by using the first specified attribute information; sequentially judging whether each video element has a video element positioned in a current window of the page; and if the video element is judged to be positioned in the current window of the page, changing the video state of the first video element positioned in the current window into a playing state. The invention utilizes the React frame to encapsulate the original video assembly, on one hand, the video automatic playing method realized by the method is not influenced by the system frame, the code can be reused in different systems, the labor development cost is reduced, and the development time is saved. On the other hand, all video elements can be acquired at one time by utilizing the first specified attribute information in the React video component, so that all video elements can be conveniently judged, the first video element in the current window can be accurately determined, and the video can be automatically played by changing the video state.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flowchart of a video automatic playing method implemented based on a React frame according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a video automatic playing method implemented based on a React frame according to another embodiment of the present invention;
fig. 3 shows a functional block diagram of a video automatic playing apparatus implemented based on a React frame according to an embodiment of the present invention;
fig. 4 shows a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 shows a flowchart of a video automatic playing method implemented based on a React frame according to an embodiment of the present invention. As shown in fig. 1, the method for automatically playing a video based on an React frame specifically includes the following steps:
and S101, packaging the original video assembly in the page to obtain the React video assembly.
The React frame may not be limited by the frame of the system itself, such as an android system, an IOS system, etc., and may be used. In this embodiment, the page is described by taking a web page of an application as an example. In each application installed on the mobile terminal, web pages of applications of different system frameworks can use the React framework to realize automatic playing of videos in the pages.
And packaging the original video component based on the React frame by using modes such as inheritance, reconstruction and the like, and packaging the original video component into the React video component based on the React frame on the premise of keeping function realization, attribute setting and the like in the original video component. The React video component is added with first appointed attribute information of video elements on the basis of realizing all functions, attribute setting and the like of the original video component. The first specified attribute information can facilitate directly acquiring all video elements in the page. Specifically, the first specified attribute information is a ref attribute of fact. A ref attribute is set in the video element. < video ref ═ this. Meanwhile, after video elements are added to the page by using the following codes, when the video elements are instantiated, the ref attribute of the video elements is assigned:
refVideo=(elem)=>{
this.videoElem=elem
}
the ref attribute of each video element is instantiated to a specific video element. For example, video element aa is instantiated, its ref attribute is assigned as aa, video element bb is instantiated, and its ref attribute is assigned as bb, etc.
In step S102, all video elements are acquired by using the first specified attribute information.
When all the video elements in the page are acquired by using the first specified attribute information in the read video component, specifically, each video element in the page has a ref attribute, and each video element in the page having a ref attribute can be acquired by using this. If video elements aa and bb are included in the page, video elements aa and bb may be obtained using this. Further, the obtained video elements may be stored in an array, and the video elements are sequentially stored according to an instantiation sequence of the video elements or a page setting sequence, and the like.
And step S103, sequentially judging whether each video element has a video element positioned in the current window of the page.
And sequentially judging the acquired video elements according to the sequence in the array, specifically, judging whether each video element is positioned in the current window of the page.
Specifically, the top height value of the current window of the page and the height value of the current window of the page are obtained, and the bottom height value of the current window of the page is obtained through calculation. For example, the top height value of the current window can be obtained by using the window. The bottom height value of the current window is equal to the top height value of the current window plus the height value of the current window itself.
And sequentially acquiring the top height value of each video element and the self height value of each video element, and calculating to obtain the bottom height value of each video element. If the video element top height value is equal to the offset height value of the video element plus the offset height values of all its ancestor elements (traversing all other elements in the page above the video element tag, other elements above the video element tag can be obtained using methods such as obtaining the video element's parents). The self height value of the video element is obtained by using the offset height method. The bottom height value of the video element is equal to the top height value of the video element plus the self height value of the video element.
And sequentially judging whether the top height value of each video element is smaller than the top height value of the current window of the page or not and whether the bottom height value of each video element is larger than the bottom height value of the current window of the page or not, judging that the video element is positioned in the current window of the page when the video elements meet the two conditions simultaneously, and executing the step S104.
And step S104, playing the first video element positioned in the current window.
When the video elements are played, the problems of disordered pictures, noisy sound and the like when pages are displayed due to the fact that a plurality of video elements are played simultaneously are avoided, and only the first video element located in the current window is played. When judging that only one video element is positioned in the current window at present, playing the video element; when a plurality of video elements are judged to be positioned in the current window, only the first video element is played; or when the sequential judgment is carried out, when the video element is judged to be positioned in the current window, the judgment is not continued, and the video element is played. The specific configuration may be set according to the implementation, and is not limited herein.
The React video component also has second specified attribute information for specifying a video state of the video element. Such as adding a command attribute on the basis of the original video component for specifying the video state of the video element. When the video element is played, the second specified attribute information of the video element is modified into a playing state. Such as setting the command attribute to play. And calling a video state modification command of the original video component according to the second specified attribute information, and changing the video state of the video element into a playing state. For example, in the read video component, the value of the command attribute is obtained through nextProps in the shouldComponentUpdate method, and when the value is play, the play method in the original video component is called to realize the playing of the video element.
According to the automatic video playing method based on the React frame, provided by the invention, the original video component in the page is encapsulated to obtain the React video component; the React video component has first specified attribute information of the video elements; acquiring all video elements by using the first specified attribute information; sequentially judging whether each video element has a video element positioned in a current window of the page; and if the video element is judged to be positioned in the current window of the page, changing the video state of the first video element positioned in the current window into a playing state. The invention utilizes the React frame to encapsulate the original video assembly, on one hand, the video automatic playing method realized by the method is not influenced by the system frame, the code can be reused in different systems, the labor development cost is reduced, and the development time is saved. On the other hand, all video elements can be acquired at one time by utilizing the first specified attribute information in the React video component, so that all video elements can be conveniently judged, the first video element in the current window can be accurately determined, and the video can be automatically played by changing the video state.
Fig. 2 is a flowchart illustrating a video automatic playing method implemented based on a React frame according to another embodiment of the present invention. As shown in fig. 2, the method for automatically playing a video based on the fact frame specifically includes the following steps:
step S201, packaging the original video assembly in the page to obtain a React video assembly.
In step S202, all video elements are acquired using the first specified attribute information.
Step S203, sequentially determining whether there is a video element located in the current window of the page in each video element.
And step S204, playing the first video element positioned in the current window.
The description of the above steps refers to the description of the embodiment in fig. 1, and is not repeated herein.
Step S205, monitoring a scroll event of a scroll bar in a current window of the page, and determining whether the scroll bar of the current window is scrolling.
Adding a monitoring event to the scroll bar, for example, adding an addEventListener method to monitor the scroll event of the scroll bar, triggering the addEventListener when a user drags or pulls the scroll bar or the scroll bar moves up and down or the like, so as to monitor the scroll event of the scroll bar, determine that the scroll bar of the current window is rolling, and execute step S206.
In step S206, the video state of the video element is changed to the paused state.
Due to the fact that the scroll bar of the current window is scrolled, the video elements may not be located in the current window completely, and at the moment, the video elements are continuously played, and the display effect is not started for the user. And in the process of the current window rolling, the display effect of continuously playing the video elements is poor. Therefore, when it is determined that the scroll bar of the current window is scrolling, the video state of the video element is changed to the paused state. Specifically, the second specified attribute information of the video element is modified into a pause state, and the command attribute is set to stop. And calling a video state modification command of the original video component according to the second specified attribute information, and changing the video state of the video element into a pause state. And calling a stop method in the original video component to realize pause playing of the video element when the value of the command attribute is stop.
And step S207, judging whether the scroll bar of the current window stops rolling at preset time intervals.
After the scroll bar of the current window is monitored to be scrolled, it is necessary to continuously judge when the scroll bar stops scrolling. Here, after the step S205 determines that the scroll bar of the current window is scrolling, the step S may perform the step of determining whether the scroll bar of the current window stops scrolling by using a callback function such as a scroll bar scroll event.
And after the scroll bar of the current window stops scrolling, re-executing the step S203, and determining whether a video element is located in the current window of the page, and if so, changing the video state of the video element to a playing state. Further, if it is determined that the video element is located in the current window of the page and the video state of the video element is the pause state, that is, the video element is playing before the scroll bar is scrolled, and when the scroll bar is scrolled, the video state of the video element is modified to the pause state, so that the video element is paused. When the scroll bar stops scrolling, the video element is still located in the current window of the page, and at this time, the video state of the video element can be changed into a playing state, so that the video element is played at a breakpoint. The breakpoint playing records the position of the video element when the video element is paused, so that the video element can continue to be played downwards according to the position when the video element is paused, and the video element is not played from the beginning again. Compared with the prior art that the video elements are played from the beginning again when the playing state is changed, the user can continue to watch the content behind the video elements, the watching habit of the user is better met, the user does not need to spend time to watch the watched content again, or the user needs to manually adjust the watching progress and the like, and the watching experience effect of the user is improved.
When judging whether the scroll bar of the current window stops scrolling at every preset time, specifically, after monitoring a scroll event of the scroll bar, recording an initial position value of the scroll bar in the current window. And then acquiring the current position value of the scroll bar in the current window at preset time intervals. Here, the timer may be used to perform the timing, and the current position value of the scroll bar in the current window is obtained. If the set-up timer is preset for a time interval of 200 milliseconds. The current position value of the scroll bar in the current window is acquired every 200 milliseconds. It is determined whether the initial position value is equal to the current position value. If the initial position value is equal to the current position value, the scroll bar is not rolled, and the scroll bar of the current window is judged to stop rolling. And if the initial position value is not equal to the current position value, namely the scroll bar still rolls, updating the initial position value to the current position value. And continuously utilizing the timer to obtain the current position value of the scroll bar in the current window at intervals of preset time, and judging whether the initial position value is equal to the current position value or not until the initial position value is equal to the current position value, namely the scroll bar stops rolling.
Further, when it is determined at preset intervals whether the scroll bar of the current window stops scrolling, in order to prevent the scroll bar from frequently executing when it is determined whether the scroll bar of the current window stops scrolling during the scrolling process, a timing execution flag value may be set, and the default timing execution flag value is not executed. When judging whether the scroll bar of the current window stops, firstly detecting whether the timing execution mark value is unexecuted. If the timing execution flag value is not executed, that is, no timer is currently processing to determine whether the scroll bar stops scrolling. The initial position value of the scroll bar in the current window can be recorded, and whether the scroll bar of the current window stops rolling or not is judged when the current position value of the scroll bar in the current window is obtained at intervals of preset time. Meanwhile, the timer execution flag value is set to be in execution. At this time, if a scroll bar triggers a scroll event, the callback function executes to judge whether the scroll bar of the current window stops rolling, and since the timing execution flag value is in execution, that is, whether the scroll bar stops rolling is judged at present, the timer is not established again, and the current position value of the scroll bar in the current window is obtained at preset time intervals according to the timing of the current existing timer for judgment, so that the data waste caused by the establishment of repeated judgment of a plurality of timers is avoided. And after the scroll bar of the current window stops rolling, setting a timing execution marking value as unexecuted, and eliminating the timer.
According to the automatic video playing method based on the React frame, the React frame is utilized to encapsulate the original video component, so that the automatic video playing method realized by the method is not influenced by the system frame, codes can be reused in different systems, the labor development cost is reduced, and the development time is saved. Meanwhile, the scroll bar scrolling event of the current window is monitored, and when the scroll bar is scrolling, the playing of the video elements is paused, so that the bad watching effect in the scroll bar scrolling process is avoided. And after the scroll bar stops scrolling, when the video element is judged to be positioned in the current window, the video element is played according to the breakpoint and is not played from the beginning again. The user can continue to watch the content behind the video element, so that the watching habit of the user is better met, the user does not need to spend time to watch the watched content again, or the user needs to manually adjust the watching progress and the like, and the watching experience effect of the user is improved.
Fig. 3 shows a functional block diagram of a video automatic playing apparatus implemented based on a React frame according to an embodiment of the present invention. As shown in fig. 3, the video automatic playing apparatus implemented based on the fact frame includes the following modules:
the encapsulation module 310 is adapted to: packaging an original video assembly in the page to obtain a read video assembly; wherein the React video component has first specified attribute information of the video element.
The obtaining module 320 is adapted to: all video elements are acquired using the first specified attribute information.
The determining module 330 is adapted to: and sequentially judging whether each video element has a video element positioned in the current window of the page.
The play module 340 is adapted to: if the determining module 330 determines that there is a video element located in the current window of the page, the first video element located in the current window is played.
Optionally, the determining module 330 is further adapted to: acquiring a top height value of a current window of a page and a self height value of the current window of the page, and calculating to obtain a bottom height value of the current window of the page; acquiring the top height value of each video element and the self height value of each video element, and calculating to obtain the bottom height value of each video element; and sequentially judging whether the top height value of each video element is smaller than the top height value of the current window of the page or not and whether the bottom height value of each video element is larger than the bottom height value of the current window of the page or not.
Optionally, the read video component further has second specified attribute information for specifying a video state of the video element; the play module 340 is further adapted to: modifying the second specified attribute information of the video element into a playing state; and calling a video state modification command of the original video component according to the second specified attribute information, and changing the video state of the video element into a playing state.
Optionally, the apparatus further comprises: a scroll determination module 350 and a pause module 360.
The scroll determination module 350 is adapted to: monitoring a rolling event of a scroll bar in a current window of the page, and judging whether the scroll bar of the current window is rolling.
The pause module 360 is adapted to: if the scroll determining module 350 determines that the scroll bar of the current window is scrolling, the video state of the video element is changed to the pause state.
Optionally, the apparatus further comprises: stop scrolling determination module 370 and re-determination module 380.
The stop scrolling determination module 370 is adapted to: and judging whether the scroll bar of the current window stops scrolling or not every preset time interval.
The re-determination module 380 is adapted to: if the rolling stop determination module 370 determines that the rolling bar of the current window stops rolling, the determination module 330 is executed, and if the determination module 330 determines that there is a video element located in the current window of the page, the video state of the video element is changed to the playing state.
Optionally, the re-determination module 380 is further adapted to: if the determining module 330 determines that there is a video element located in the current window of the page and the video status of the video element is in the pause status, the video status of the video element is changed to the play status, so that the video element is played at the breakpoint.
Optionally, the stop scrolling determination module 370 further comprises: a recording module 371, an obtain current position module 372, a stop determination module 373, and a loop module 374.
The recording module 371 is adapted to: and recording the initial position value of the scroll bar in the current window.
The obtain current location module 372 is adapted to: and acquiring the current position value of the scroll bar in the current window every preset time.
The determination stop module 373 is adapted to: judging whether the initial position value is equal to the current position value or not; if the initial position value is equal to the current position value, judging that the scroll bar of the current window stops rolling; and if the initial position value is not equal to the current position value, updating the initial position value to the current position value.
The loop module 374 is adapted to: the obtain current position module 372 and the stop determination module 373 are executed in a loop until the initial position value is determined to be equal to the current position value.
Optionally, the stop scrolling determination module 370 further comprises: the execution determination module 375, the first setting module 376, and the second setting module 377.
The execution determination module 375 is adapted to: it is determined whether the timed execution flag value is unexecuted.
The first setup module 376 is adapted to: if the execution determination module 375 determines that the timer execution flag value is not executed, the execution recording module 371 sets the timer execution flag value to be executing.
The second setup module 377 is adapted to: the timer executed flag value is set to unexecuted.
The descriptions of the modules refer to the corresponding descriptions in the method embodiments, and are not repeated herein.
According to the automatic video playing device based on the React frame, provided by the invention, the original video component in the page is encapsulated to obtain the React video component; the React video component has first specified attribute information of the video elements; acquiring all video elements by using the first specified attribute information; sequentially judging whether each video element has a video element positioned in a current window of the page; and if the video element is judged to be positioned in the current window of the page, changing the video state of the first video element positioned in the current window into a playing state. The invention utilizes the React frame to encapsulate the original video assembly, on one hand, the video automatic playing method realized by the method is not influenced by the system frame, the code can be reused in different systems, the labor development cost is reduced, and the development time is saved. On the other hand, all video elements can be acquired at one time by utilizing the first specified attribute information in the React video component, so that all video elements can be conveniently judged, the first video element in the current window can be accurately determined, and the video can be automatically played by changing the video state. Meanwhile, the scroll bar scrolling event of the current window is monitored, and when the scroll bar is scrolling, the playing of the video elements is paused, so that the bad watching effect in the scroll bar scrolling process is avoided. And after the scroll bar stops scrolling, when the video element is judged to be positioned in the current window, the video element is played according to the breakpoint and is not played from the beginning again. The user can continue to watch the content behind the video element, so that the watching habit of the user is better met, the user does not need to spend time to watch the watched content again, or the user needs to manually adjust the watching progress and the like, and the watching experience effect of the user is improved.
The application also provides a nonvolatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the video automatic playing method based on the fact frame in any method embodiment.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 4, the electronic device may include: a processor (processor)402, a Communications Interface 404, a memory 406, and a Communications bus 408.
Wherein:
the processor 402, communication interface 404, and memory 406 communicate with each other via a communication bus 408.
A communication interface 404 for communicating with network elements of other devices, such as clients or other servers.
The processor 402 is configured to execute the program 410, and may specifically execute relevant steps in the above-described video automatic playing method embodiment implemented based on the fact framework.
In particular, program 410 may include program code comprising computer operating instructions.
The processor 402 may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 406 for storing a program 410. Memory 406 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 410 may be specifically configured to enable the processor 402 to execute a video automatic playing method implemented based on the fact frame in any of the method embodiments described above. For specific implementation of each step in the program 410, reference may be made to corresponding steps and corresponding descriptions in units in the above-mentioned video automatic playing embodiment implemented based on the fact frame, which are not described herein again. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described devices and modules may refer to the corresponding process descriptions in the foregoing method embodiments, and are not described herein again.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of a read frame based video auto-play apparatus according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (20)

1. A video automatic playing method based on React frame includes:
packaging, namely packaging an original video assembly in a page to obtain a React video assembly; wherein the React video component has first specified attribute information of a video element; the first specified attribute information is instantiated as a video element;
an acquisition step of acquiring all video elements by using the first specified attribute information; the acquired video elements are sequentially stored in an array according to the instantiation sequence or the page setting sequence of the video elements;
judging, namely sequentially judging whether the video elements in the current window of the page exist in the acquired video elements according to the sequence in the array; sequentially judging whether the top height value of each video element is smaller than the top height value of the current window of the page or not and whether the bottom height value of each video element is larger than the bottom height value of the current window of the page or not;
a playing step, if the judging step judges that the video element is positioned in the current window of the page, playing the first video element positioned in the current window; when judging that only one video element is positioned in the current window at present, playing the video element; and when judging that a plurality of video elements are positioned in the current window, playing the first video element.
2. The method of claim 1, wherein the determining step further comprises:
acquiring a top height value of a current window of the page and a self height value of the current window of the page, and calculating to obtain a bottom height value of the current window of the page;
acquiring the top height value of each video element and the self height value of each video element, and calculating to obtain the bottom height value of each video element;
and sequentially judging whether the top height value of each video element is smaller than the top height value of the current window of the page or not and whether the bottom height value of each video element is larger than the bottom height value of the current window of the page or not.
3. The method according to claim 1 or 2, wherein the React video component further has second specified attribute information for specifying a video state of a video element;
the playing step further comprises:
modifying the second specified attribute information of the video element into a playing state;
and calling a video state modification command of the original video component according to the second specified attribute information, and changing the video state of the video element into a playing state.
4. The method of claim 1 or 2, wherein after the playing step, the method further comprises:
monitoring a rolling event of a scroll bar in a current window of the page, and judging whether the scroll bar of the current window is rolling;
and if so, changing the video state of the video element into a pause state.
5. The method of claim 4, wherein after said changing the video state of the video element to a paused state, the method further comprises:
judging whether the scroll bar of the current window stops rolling at each interval of preset time;
if so, executing the judging step, and if the judging step judges that the video element is positioned in the current window of the page, changing the video state of the video element into a playing state.
6. The method of claim 5, wherein if the determining step determines that a video element is located in the current window of the page, changing the video status of the video element to the playing status further comprises:
and if the judging step judges that the video element is positioned in the current window of the page and the video state of the video element is in a pause state, changing the video state of the video element into a play state and playing the video element in a breakpoint manner.
7. The method of claim 5, wherein the determining whether the scroll bar of the current window stops scrolling every preset time further comprises:
recording, namely recording an initial position value of the scroll bar in a current window;
acquiring a current position, namely acquiring a current position value of the scroll bar in a current window at intervals of preset time;
a step of stopping judgment, which is to judge whether the initial position value is equal to the current position value;
if the initial position value is judged to be equal to the current position value in the judging and stopping step, judging that the scroll bar of the current window stops rolling;
if the step of stopping judgment judges that the initial position value is not equal to the current position value, updating the initial position value to the current position value; and circularly executing the step of acquiring the current position and the step of judging and stopping until the initial position value is judged to be equal to the current position value.
8. The method of claim 7, wherein before the determining whether the scroll bar of the current window stops scrolling every preset time interval, the method further comprises:
judging whether the timing execution marking value is unexecuted or not;
if yes, executing the recording step, and setting a timing execution mark value as being executed;
after the step of judging stop judges that the scroll bar of the current window stops rolling, the method further comprises the following steps:
the timer executed flag value is set to unexecuted.
9. The method of claim 1 or 2, wherein the page is an application web page.
10. The utility model provides a video automatic playback device based on reach frame realizes, it includes:
the packaging module is suitable for packaging the original video assembly in the page to obtain a React video assembly; wherein the React video component has first specified attribute information of a video element; the first specified attribute information is instantiated as a video element;
the acquisition module is suitable for acquiring all video elements by utilizing the first specified attribute information; the acquired video elements are sequentially stored in an array according to the instantiation sequence or the page setting sequence of the video elements;
the judging module is suitable for sequentially judging whether the video elements in the current window of the page exist in the acquired video elements according to the sequence in the array; sequentially judging whether the top height value of each video element is smaller than the top height value of the current window of the page or not and whether the bottom height value of each video element is larger than the bottom height value of the current window of the page or not;
the playing module is suitable for playing the first video element in the current window if the judging module judges that the video element is positioned in the current window of the page; when judging that only one video element is positioned in the current window at present, playing the video element; and when judging that a plurality of video elements are positioned in the current window, playing the first video element.
11. The apparatus of claim 10, wherein the determining module is further adapted to:
acquiring a top height value of a current window of the page and a self height value of the current window of the page, and calculating to obtain a bottom height value of the current window of the page;
acquiring the top height value of each video element and the self height value of each video element, and calculating to obtain the bottom height value of each video element;
and sequentially judging whether the top height value of each video element is smaller than the top height value of the current window of the page or not and whether the bottom height value of each video element is larger than the bottom height value of the current window of the page or not.
12. The apparatus of claim 10 or 11, wherein the React video component further has second specified attribute information for specifying a video state of a video element;
the playback module is further adapted to:
modifying the second specified attribute information of the video element into a playing state; and calling a video state modification command of the original video component according to the second specified attribute information, and changing the video state of the video element into a playing state.
13. The apparatus of claim 10 or 11, wherein the apparatus further comprises:
the rolling judging module is suitable for monitoring a rolling event of a rolling bar in a current window of the page and judging whether the rolling bar of the current window rolls;
and the pause module is suitable for changing the video state of the video element into a pause state if the scroll judging module judges that the scroll bar of the current window is scrolling.
14. The apparatus of claim 13, wherein the apparatus further comprises:
the rolling stop judging module is suitable for judging whether the rolling bar of the current window stops rolling at each interval of preset time;
and the re-judging module is suitable for executing the judging module if the rolling stopping judging module judges that the scroll bar of the current window stops rolling, and changing the video state of the video element into a playing state if the judging module judges that the video element is positioned in the current window of the page.
15. The apparatus of claim 14, wherein the re-determination module is further adapted to:
and if the judging module judges that the video element is positioned in the current window of the page and the video state of the video element is in a pause state, changing the video state of the video element into a play state and playing the video element in a breakpoint manner.
16. The apparatus of claim 14, wherein the stop scrolling determination module further comprises:
the recording module is suitable for recording the initial position value of the scroll bar in the current window;
the current position obtaining module is suitable for obtaining the current position value of the scroll bar in the current window at each interval of preset time;
a judgment stopping module adapted to judge whether the initial position value is equal to the current position value; if the initial position value is equal to the current position value, judging that the scroll bar of the current window stops rolling; if the initial position value is not equal to the current position value, updating the initial position value to the current position value;
and the circulating module is suitable for circularly executing the current position acquiring module and the judging and stopping module until the initial position value is judged to be equal to the current position value.
17. The apparatus of claim 16, wherein the stop scrolling determination module further comprises:
the execution judging module is suitable for judging whether the timing execution marking value is unexecuted or not;
the first setting module is suitable for executing the recording module and setting the timing execution mark value as being executed if the execution judging module judges that the timing execution mark value is not executed;
after the determining and stopping module determines that the scroll bar of the current window stops scrolling, the rolling stopping determining module further includes:
and the second setting module is suitable for setting the timing execution flag value as unexecuted.
18. The apparatus of claim 10 or 11, wherein the page is an application web page.
19. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the video automatic playing method realized based on the React frame according to any one of claims 1-9.
20. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to execute operations corresponding to the method for automatically playing back video based on a React frame according to any one of claims 1 to 9.
CN201810536436.0A 2018-05-30 2018-05-30 Method and device for automatically playing video based on React framework Active CN108712676B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810536436.0A CN108712676B (en) 2018-05-30 2018-05-30 Method and device for automatically playing video based on React framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810536436.0A CN108712676B (en) 2018-05-30 2018-05-30 Method and device for automatically playing video based on React framework

Publications (2)

Publication Number Publication Date
CN108712676A CN108712676A (en) 2018-10-26
CN108712676B true CN108712676B (en) 2021-08-10

Family

ID=63870042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810536436.0A Active CN108712676B (en) 2018-05-30 2018-05-30 Method and device for automatically playing video based on React framework

Country Status (1)

Country Link
CN (1) CN108712676B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798728B (en) * 2019-11-06 2022-04-01 北京小米移动软件有限公司 Video playing method, device and storage medium
CN113810777B (en) * 2021-09-16 2024-03-01 上海哔哩哔哩科技有限公司 Playing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445583A (en) * 2016-08-31 2017-02-22 广州品唯软件有限公司 Page display method, equipment and system
CN107295415A (en) * 2016-04-12 2017-10-24 百度在线网络技术(北京)有限公司 Video broadcasting method and device
CN107665257A (en) * 2017-10-11 2018-02-06 成都知道创宇信息技术有限公司 Suspend method movable in the page during a kind of browser window switching
CN108052677A (en) * 2018-01-02 2018-05-18 武汉斗鱼网络科技有限公司 Page processing method, device and readable storage medium storing program for executing

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7925973B2 (en) * 2005-08-12 2011-04-12 Brightcove, Inc. Distribution of content
US20080059580A1 (en) * 2006-08-30 2008-03-06 Brian Kalinowski Online video/chat system
US7793230B2 (en) * 2006-11-30 2010-09-07 Microsoft Corporation Search term location graph
CN102117290B (en) * 2009-12-30 2015-03-18 北京搜狗科技发展有限公司 Method and system used for showing page elements in webpage
CN104133898A (en) * 2014-07-31 2014-11-05 上海二三四五网络科技股份有限公司 Method and device for playing video in small window in browser
CN104268251A (en) * 2014-09-30 2015-01-07 北京奇虎科技有限公司 Playing method and device of video elements in web page
CN104268250A (en) * 2014-09-30 2015-01-07 北京奇虎科技有限公司 Playing method and device of video elements in web page
CN104268252A (en) * 2014-09-30 2015-01-07 北京奇虎科技有限公司 Playing method and device of video elements in web page
CN106034253A (en) * 2015-03-09 2016-10-19 阿里巴巴集团控股有限公司 Video content playing method, video content playing device and terminal equipment
WO2017027767A1 (en) * 2015-08-12 2017-02-16 Interactive Intelligence Group, Inc. System and method for determining window geomtery
CN107197362A (en) * 2016-03-15 2017-09-22 广州市动景计算机科技有限公司 A kind of method and device for playing multimedia messages
CN106713962B (en) * 2016-12-19 2018-10-09 掌阅科技股份有限公司 Video display method, apparatus and terminal device
CN107239503B (en) * 2017-05-10 2020-08-07 北京潘达互娱科技有限公司 Video display method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107295415A (en) * 2016-04-12 2017-10-24 百度在线网络技术(北京)有限公司 Video broadcasting method and device
CN106445583A (en) * 2016-08-31 2017-02-22 广州品唯软件有限公司 Page display method, equipment and system
CN107665257A (en) * 2017-10-11 2018-02-06 成都知道创宇信息技术有限公司 Suspend method movable in the page during a kind of browser window switching
CN108052677A (en) * 2018-01-02 2018-05-18 武汉斗鱼网络科技有限公司 Page processing method, device and readable storage medium storing program for executing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于内容的体育视频描述、管理和浏览研究与实现》;李学朝;《中国优秀硕士学位论文全文数据库》;20040630;全文 *

Also Published As

Publication number Publication date
CN108712676A (en) 2018-10-26

Similar Documents

Publication Publication Date Title
CN110162343B (en) Application starting method and device, electronic equipment and storage medium
CN108108268B (en) Method and device for processing quit restart of video recording application
WO2017219833A1 (en) Method and apparatus for developing and managing application program page
TWI671647B (en) Method, device and electronic device for calculating the duration of the first screen of a page
CN106550284B (en) Method and device for playing fragment video
CN108712676B (en) Method and device for automatically playing video based on React framework
WO2016169321A1 (en) Method for playing video, player and computer storage media
WO2017202175A1 (en) Method and device for video compression and electronic device
US11941728B2 (en) Previewing method and apparatus for effect application, and device, and storage medium
CN107786903B (en) Video interaction method and device
CN108062336B (en) Media information processing method and device
CN111447239A (en) Video stream playing control method, device and storage medium
CN112764653A (en) Method and device for acquiring information based on pull-down page
CN114282135A (en) Data carousel method and device, electronic equipment and storage medium
CN106980503B (en) Page processing method, device and equipment
CN108304312B (en) Method and device for testing webpage loading speed
CN106792163B (en) Method and device for detecting video playing state
CN105468746B (en) Web-page Multi-media content processing method and device
CN111866403A (en) Video graphic content processing method, device, equipment and medium
CN113590052B (en) Information storage method, device, equipment and storage medium
CN110557627B (en) Performance monitoring method and device and storage medium
CN115474074A (en) Video background replacing method and device, computing equipment and storage medium
CN109286510B (en) Method and device for collecting log data
CN107426622B (en) A kind of multi-medium play method and device
CN111768433A (en) Method and device for realizing tracking of moving target and electronic equipment

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