CN113760431B - Application control method and device, electronic equipment and readable storage medium - Google Patents

Application control method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113760431B
CN113760431B CN202111002525.5A CN202111002525A CN113760431B CN 113760431 B CN113760431 B CN 113760431B CN 202111002525 A CN202111002525 A CN 202111002525A CN 113760431 B CN113760431 B CN 113760431B
Authority
CN
China
Prior art keywords
application program
page
video stream
program
operation instruction
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
CN202111002525.5A
Other languages
Chinese (zh)
Other versions
CN113760431A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202111002525.5A priority Critical patent/CN113760431B/en
Publication of CN113760431A publication Critical patent/CN113760431A/en
Application granted granted Critical
Publication of CN113760431B publication Critical patent/CN113760431B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a control method and device of an application program, electronic equipment and a readable storage medium, and relates to the technical field of computer communication, in particular to the technical field of cloud computing. The specific implementation scheme is as follows: generating a page video stream of a second application program in a preset period based on whether operation data of at least one operation of a user on the first application program in the preset period sent by the terminal equipment is received or not; and returning the page video stream to the terminal equipment, so that the terminal equipment displays the page video stream through the first application program. Based on the scheme, when the terminal equipment cannot directly install or run the application program, the function of the application program can be realized, and the usability of the terminal equipment is improved.

Description

Application control method and device, electronic equipment and readable storage medium
Technical Field
The disclosure relates to the technical field of computer communication, in particular to the technical field of cloud computing, and specifically relates to a control method and device of an application program, electronic equipment and a readable storage medium.
Background
In recent years, intelligent terminal devices are becoming popular in people's lives. In order to realize more functions, the terminal device generally needs to install more Applications (APP).
Some terminal devices may not support the installation and operation of some application programs, so that the terminal devices cannot realize the functions of the application programs, and the use of the terminal devices by users is affected.
Disclosure of Invention
In order to solve at least one of the above defects, the present disclosure provides a control method, a device, an electronic apparatus, and a readable storage medium for an application program.
According to a first aspect of the present disclosure, there is provided a control method of an application program, the method including:
generating a page video stream of a second application program in a preset period based on whether operation data of at least one operation of a user on the first application program in the preset period sent by the terminal equipment is received or not;
and returning the page video stream to the terminal equipment, so that the terminal equipment displays the page video stream through the first application program.
According to a second aspect of the present disclosure, there is provided another control method of an application program, the method including:
receiving a page video stream of a second application program in a preset period, wherein the page video stream is generated by the server based on whether operation data of at least one operation of a user on the first application program in the preset period is received, and the operation data is sent by the terminal equipment;
And displaying the page video stream through the first application program.
According to a third aspect of the present disclosure, there is provided a control apparatus of an application program, the apparatus comprising:
the page video stream generating module is used for generating a page video stream of the second application program in a preset period based on whether operation data of at least one operation of a user on the first application program in the preset period sent by the terminal equipment is received or not;
the page video stream returning module is used for returning the page video stream to the terminal equipment, so that the terminal equipment displays the page video stream through the first application program.
According to a fourth aspect of the present disclosure, there is provided a control apparatus of an application program, the apparatus comprising:
the page video stream receiving module is used for receiving a page video stream of a second application program in a preset period, which is sent by the server, wherein the page video stream is generated by the server based on whether operation data of at least one operation of a user on the first application program in the preset period, which is sent by the terminal equipment, is received or not;
and the page video stream display module is used for displaying the page video stream through the first application program.
According to a fifth aspect of the present disclosure, there is provided an electronic device comprising:
At least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to execute the control method of the application.
According to a sixth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the control method of the above-described application program.
According to a seventh aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the control method of the application program described above.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a flowchart of a control method of an application according to an embodiment of the disclosure;
FIG. 2 is a flowchart of another control method of an application according to an embodiment of the disclosure;
FIG. 3 is a flowchart of a method for controlling an application in a specific implementation provided in an embodiment of the disclosure;
FIG. 4 is a schematic diagram of a control device for an application provided in accordance with the present disclosure;
FIG. 5 is a schematic diagram of a control device of another application provided in accordance with the present disclosure;
fig. 6 is a block diagram of an electronic device for implementing a control method of an application program of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Currently, some terminal devices may not support the installation and operation of some applications. For example, applications that are incompatible with the operating system that is run by the terminal device cannot be installed due to system compatibility, and for example, when the hardware performance of the terminal device is insufficient, some applications that have a high requirement on the hardware performance cannot be run.
Smart watches are a widely used portable device. The wristwatch of the real-time multitasking operating system (Real Time Operating System, RTOS) has the advantages of low hardware cost and smoother system overall compared with the wristwatch of the Android system. However, the existing RTOS system has fewer application software adapted on the top and cannot directly run the existing android app, and cannot run some software with high performance requirements, so that the function of the watch of the RTOS system is fewer and the use requirement of a user cannot be met.
The application program control method, device, electronic equipment and readable storage medium provided by the embodiment of the application program aim to solve at least one of the technical problems in the prior art.
Fig. 1 shows a flowchart of a control method of an application program according to an embodiment of the disclosure, where, as shown in fig. 1, the method may mainly include:
step S110: generating a page video stream of a second application program based on whether operation data of at least one operation of a user on the first application program in a preset period sent by the terminal equipment is received or not;
step S120: and returning the page video stream to the terminal equipment, so that the terminal equipment displays the page video stream through the first application program.
In the embodiment of the disclosure, the terminal device runs the first application program, the server runs the second application program, and the function of the second application program needs to be realized on the terminal device, but the second application program may not be directly installed or run on the terminal device.
As an example, the terminal device and the server may deploy different operating systems, the terminal device may be a smart watch, the RTOS system may be operated, and the first application may be adapted to the RTOS system. The server may run an android system, and the second application may be adapted to the android system.
The page video stream is a video stream corresponding to a program page of the second application program when the server runs the second application program, and can be used for displaying the program page of the second application program.
The duration of the preset period can be set according to actual needs, for example, 1s.
The terminal device may implement control of the second application program by operation of the first application program. Specifically, the terminal device may detect an operation of the first application program by a user in a preset period, and if the operation of the first application program by the user in the preset period is detected, may acquire operation data corresponding to the operation, and send the operation data to the server; if the operation of the user on the first application program in the preset period is not detected, the report of the operation data can be omitted.
The server can perform corresponding processing according to whether operation data in a preset period are received or not, and generates a corresponding page video stream for the first application program to display, so that the control of the second application program through the first application program is realized.
The server sequentially returns the page video streams corresponding to the preset periods to the terminal equipment, so that the terminal equipment plays the page video streams through the first application program, and real-time display of the program pages of the second application program on the terminal equipment is realized.
According to the method provided by the embodiment of the disclosure, the page video stream of the second application program in the preset period is generated based on whether the operation data of at least one operation of the user on the first application program in the preset period sent by the terminal equipment is received or not, so that the page video stream is returned to the terminal equipment, and the terminal equipment displays the page video stream through the first application program. Based on the scheme, when the terminal equipment cannot directly install or run the application program, the function of the application program can be realized, and the usability of the terminal equipment is improved.
In the implementation of the present disclosure, the first application program may be developed in cooperation with the function of the second application program, so as to implement the functions of collecting operation data, reporting operation data, and receiving and playing a page video stream, so that the first application program can be light-weighted, and reduce the performance requirement on the terminal device.
In the implementation of the disclosure, the second application program does not directly run on the terminal equipment, so that the first application program is only required to be adapted to the terminal equipment, the second application program is not required to be adapted to the terminal equipment, and the adaptation difficulty of the second application program is reduced. In actual use, the first application program can be matched with a plurality of second application programs for use, so that the development cost of the application programs is further reduced.
In the implementation of the disclosure, the terminal equipment can realize the function of the second application program by running the first application program, so that the terminal equipment does not need to directly run the second application program, the calculation operation of the terminal equipment is reduced, the energy consumption of the terminal equipment is reduced, and the cruising duration of the terminal equipment is improved.
In an optional manner of the disclosure, generating a page video stream of a second application program based on whether operation data of at least one operation of a user on the first application program in a preset period sent by a terminal device is received, includes:
if operation data of at least one operation of a user on a first application program in a preset period, which is sent by a terminal device, is received, determining a program page of a second application program based on the operation data, and generating a page video stream based on the program page;
If operation data of at least one operation of the user on the first application program in a preset period, which is sent by the terminal equipment, is not received, determining a program page of the second application program, and generating a page video stream based on the program page.
In the embodiment of the disclosure, before generating the page video stream with the preset period, the server may determine whether operation data of the first application program sent by the terminal device within the preset period is received. And determining a program page of the second application program in a preset period according to whether operation data are received or not, so that a page video stream is generated based on the program page.
Specifically, when the operation data is received, the second application program may respond to the operation data, thereby determining a program page after the response; and when the operation data is not received, the program page of the second application program can be directly determined.
In an optional manner of the disclosure, the operation data includes a first operation instruction corresponding to at least one operation and a trigger time of at least one operation, and determining a program page of the second application program based on the operation data includes:
converting the first operation instruction into a second operation instruction for a second application program;
Determining the execution time of the second operation instruction based on the trigger time;
and processing the second operation instruction at the execution time to determine a program page of the second application program.
In the embodiment of the disclosure, the operation data may include a first operation instruction corresponding to the operation and a trigger time of the operation.
The first operation instruction is generated according to the operation of the user on the first application program, such as a click instruction of a virtual button in a program page of the first application program, an instruction of inputting characters in the program page of the first application program, and the like. The second application program may not be able to directly process the first operation instruction, and at this time, the first operation instruction may be converted to obtain the second operation instruction.
Specifically, converting the first operation instruction into the second operation instruction may include converting a code of the first operation instruction into a code format, converting a coordinate of the first operation instruction, and the like.
As an example, when the first operation instruction is a click instruction, the first operation instruction includes data of a click position, and the click position in the first operation instruction may be converted into a corresponding position in the program page of the second application program according to a position correspondence between the program page of the first application program and the program page of the second application program that are preconfigured.
In the embodiment of the present disclosure, the trigger time may be a relative time within a preset period, for example, the preset period is 1s, and the trigger time may be 0.1s within the preset period.
When the page video stream in the preset period is generated, the execution time of the second operation instruction can be determined according to the trigger time, and the second operation instruction is processed in the execution time to obtain a corresponding program page.
In the embodiment of the disclosure, the terminal device may report operation data of multiple operations in a preset period, and the server may convert the first operation instruction in each operation data into the second operation instruction, and determine the execution time of each second operation instruction according to the trigger time of each operation, so that the second operation instruction is sequentially processed according to each execution time, so that the second application program sequentially generates a corresponding program page.
In an alternative manner of the present disclosure, generating a page video stream based on a program page includes:
and taking the page image of the program page as a frame image of the page video stream to generate the page video stream.
In the embodiment of the disclosure, the page video stream may be generated by taking the program page as a frame image of the page video stream.
As an example, a plurality of page images of a program page may be acquired in a preset period, for example, the preset period is 1s, 5 page images of the program page are acquired in the preset period, and the 5 page images are taken as frame images of a page video stream.
In practical use, the page image can be acquired by capturing a program page, so that a page video stream is generated, and the page video stream can also be acquired by directly acquiring the video of the program page.
In an optional manner of the disclosure, before returning the page video stream to the terminal device, the method further includes:
and compressing the page video stream.
In the embodiment of the disclosure, in order to save the transmission cost of data, reduce the requirement on a network, improve the smoothness of video stream playing, and send the page video stream to the terminal device after the page video stream is compressed.
Specifically, the compression of the page video stream can be performed by using the h.264 video coding technology, or can be performed by using a video compression algorithm of a customized convolutional neural network under the condition that the terminal device (such as a watch) supports convolutional operation.
If the video coding technology is used for compressing the page video stream, the terminal equipment needs to decode after receiving the compressed page video stream.
In an optional manner of the disclosure, the method further includes:
when a connection request of the terminal equipment is received, determining a target virtual machine associated with the terminal equipment or a user from at least one pre-deployed virtual machine;
and running the second application program through the target virtual machine.
In the embodiment of the disclosure, the terminal device may establish communication connection with the server in advance, and the server may allocate a target virtual machine to the terminal device when receiving a connection request of the terminal device.
Specifically, the server may be deployed with a plurality of virtual machines, each virtual machine being associated with a terminal device or a user, so that a target virtual machine associated with the terminal device or the user can be determined from the plurality of virtual machines.
In actual use, the device identifier (such as a device number) of the terminal device, and/or the user identifier (such as an account number of the user) of the user may be associated with the virtual machine.
In the embodiment of the disclosure, the target virtual machine may be installed with a second application program, and when receiving a connection request of a user, the target virtual machine may run the second application program, and then process operation data possibly sent by the terminal device, and generate a page video stream.
In the embodiment of the disclosure, the target virtual machine may be installed with a second application program required by the user, for example, a second application program corresponding to the first program in the program list of the terminal device, so as to quickly respond when receiving the connection request of the user, thereby ensuring smooth operation of the user.
As one example, an android operating system may be deployed in the target virtual machine.
Fig. 2 is a flow chart illustrating another method for controlling an application program according to an embodiment of the disclosure, where, as shown in fig. 2, the method may mainly include:
step S210: receiving a page video stream of a second application program sent by a server, wherein the page video stream is generated by the server based on whether operation data of at least one operation of a user on the first application program in a preset period sent by terminal equipment is received or not;
step S220: and displaying the page video stream through the first application program.
In the embodiment of the disclosure, the terminal device runs the first application program, the server runs the second application program, and the function of the second application program needs to be realized on the terminal device, but the second application program may not be directly installed or run on the terminal device.
As an example, the terminal device and the server may deploy different operating systems, the terminal device may be a smart watch, the RTOS system may be operated, and the first application may be adapted to the RTOS system. The server may run an android system, and the second application may be adapted to the android system.
The page video stream is a video stream corresponding to a program page of the second application program when the server runs the second application program, and can be used for displaying the program page of the second application program.
The duration of the preset period can be set according to actual needs, for example, 1s.
The terminal device may implement control of the second application program by operation of the first application program. Specifically, the terminal device may detect an operation of the first application program by a user in a preset period, and if the operation of the first application program by the user in the preset period is detected, may acquire operation data corresponding to the operation, and send the operation data to the server; if the operation of the user on the first application program in the preset period is not detected, the report of the operation data can be omitted.
The server can perform corresponding processing according to whether operation data in a preset period are received or not, and generates a corresponding page video stream for the first application program to display, so that the control of the second application program through the first application program is realized.
The server sequentially returns the page video streams corresponding to the preset periods to the terminal equipment, so that the terminal equipment plays the page video streams through the first application program, and real-time display of the program pages of the second application program on the terminal equipment is realized.
According to the method provided by the embodiment of the disclosure, the page video stream of the second application program sent by the server is received, so that the page video stream is displayed through the first application program. Based on the scheme, when the terminal equipment cannot directly install or run the application program, the function of the application program can be realized, and the usability of the terminal equipment is improved.
In the implementation of the present disclosure, the first application program may be developed in cooperation with the function of the second application program, so as to implement the functions of collecting operation data, reporting operation data, and receiving and playing a page video stream, so that the first application program can be light-weighted, and reduce the performance requirement on the terminal device.
In the implementation of the disclosure, the second application program does not directly run on the terminal equipment, so that the first application program is only required to be adapted to the terminal equipment, the second application program is not required to be adapted to the terminal equipment, and the adaptation difficulty of the second application program is reduced. In actual use, the first application program can be matched with a plurality of second application programs for use, so that the development cost of the application programs is further reduced.
In the implementation of the disclosure, the terminal equipment can realize the function of the second application program by running the first application program, so that the terminal equipment does not need to directly run the second application program, the calculation operation of the terminal equipment is reduced, the energy consumption of the terminal equipment is reduced, and the cruising duration of the terminal equipment is improved.
In an optional manner of the disclosure, before receiving the page video stream of the second application program within the preset period, the method further includes:
and when detecting at least one operation of the user on the first application program in a preset period, transmitting operation data of the at least one operation to a server.
In the embodiment of the disclosure, the terminal device may detect an operation of the first application program by a user in a preset period, and if the operation of the first application program by the user in the preset period is detected, may acquire operation data corresponding to the operation, and send the operation data to the server.
In the embodiment of the disclosure, the operation data may include a first operation instruction corresponding to the operation and a trigger time of the operation.
The first operation instruction is generated according to the operation of the user on the first application program, such as a click instruction of a virtual button in a program page of the first application program, an instruction of inputting characters in the program page of the first application program, and the like. The second application program may not be able to directly process the first operation instruction, and at this time, the first operation instruction may be converted to obtain the second operation instruction.
Specifically, converting the first operation instruction into the second operation instruction may include converting a code of the first operation instruction into a code format, converting a coordinate of the first operation instruction, and the like.
As an example, when the first operation instruction is a click instruction, the first operation instruction includes data of a click position, and the click position in the first operation instruction may be converted into a corresponding position in the program page of the second application program according to a position correspondence between the program page of the first application program and the program page of the second application program that are preconfigured.
In the embodiment of the present disclosure, the trigger time may be a relative time within a preset period, for example, the preset period is 1s, and the trigger time may be 0.1s within the preset period.
When the page video stream in the preset period is generated, the execution time of the second operation instruction can be determined according to the trigger time, and the second operation instruction is processed in the execution time to obtain a corresponding program page.
In the embodiment of the disclosure, the terminal device may report operation data of multiple operations in a preset period, and the server may convert the first operation instruction in each operation data into the second operation instruction, and determine the execution time of each second operation instruction according to the trigger time of each operation, so that the second operation instruction is sequentially processed according to each execution time, so that the second application program sequentially generates a corresponding program page.
Fig. 3 is a flow chart of a control method of an application program in a specific implementation manner provided in the disclosure embodiment. As shown in fig. 3, the watch end is a terminal device, the cloud end is a server, and the resulting video stream is a page video stream. The watch end sends the operation data to the cloud end, the cloud end generates a page video stream based on the operation data, and the page video stream is returned to the watch end for being played by the watch end.
Through the interaction between the watch end and the cloud end, the watch end mainly receives operation information, and then presents the video stream of the cloud end, and no other calculation steps are needed. In the case of good network conditions, large android applications can be smoothly used on low-cost RTOS watches. The existing ROTS module almost all support 4G flow cards, and the bandwidth can completely meet the requirements under the condition of a small watch screen.
Based on the same principle as the method shown in fig. 1, fig. 4 shows a schematic structural diagram of a control device of an application program provided in an embodiment of the present disclosure, and as shown in fig. 4, the control device 40 of the application program may include:
the page video stream generating module 410 is configured to generate a page video stream of the second application program based on whether operation data of at least one operation of the user on the first application program in a preset period sent by the terminal device is received;
And the page video stream returning module 420 is configured to return the page video stream to the terminal device, so that the terminal device displays the page video stream through the first application program.
According to the device provided by the embodiment of the disclosure, the page video stream of the second application program in the preset period is generated based on whether the operation data of at least one operation of the user on the first application program in the preset period sent by the terminal equipment is received or not, so that the page video stream is returned to the terminal equipment, and the terminal equipment displays the page video stream through the first application program. Based on the scheme, when the terminal equipment cannot directly install or run the application program, the function of the application program can be realized, and the usability of the terminal equipment is improved.
Optionally, the page video stream generating module is specifically configured to:
if operation data of at least one operation of a user on a first application program in a preset period, which is sent by a terminal device, is received, determining a program page of a second application program based on the operation data, and generating a page video stream based on the program page;
if operation data of at least one operation of the user on the first application program in a preset period, which is sent by the terminal equipment, is not received, determining a program page of the second application program, and generating a page video stream based on the program page.
Optionally, the operation data includes a first operation instruction corresponding to at least one operation and a trigger time of at least one operation, and the page video stream generating module is specifically configured to, when determining a program page of the second application program based on the operation data:
converting the first operation instruction into a second operation instruction for a second application program;
determining the execution time of the second operation instruction based on the trigger time;
and processing the second operation instruction at the execution time to determine a program page of the second application program.
Optionally, the page video stream generating module is specifically configured to, when generating the page video stream based on the program page:
and taking the page image of the program page as a frame image of the page video stream to generate the page video stream.
Optionally, the apparatus further includes:
and the video compression module is used for compressing the page video stream before returning the page video stream to the terminal equipment.
Optionally, the apparatus further includes:
the target virtual machine determining module is used for determining a target virtual machine associated with the terminal equipment or the user from at least one pre-deployed virtual machine when a connection request of the terminal equipment is received;
And the application program running module is used for running the second application program through the target virtual machine.
It will be appreciated that the above-described modules of the control apparatus for an application in the embodiment of the present disclosure have functions of implementing the corresponding steps of the control method for an application in the embodiment shown in fig. 1. The functions can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above. The modules may be software and/or hardware, and each module may be implemented separately or may be implemented by integrating multiple modules. For the functional description of each module of the control device of the application program, reference may be specifically made to the corresponding description of the control method of the application program in the embodiment shown in fig. 1, which is not repeated herein.
Based on the same principle as the method shown in fig. 2, fig. 5 shows a schematic structural diagram of a control device of an application program provided in an embodiment of the present disclosure, and as shown in fig. 5, the control device 50 of the application program may include:
the page video stream receiving module 510 is configured to receive a page video stream of the second application program sent by the server, where the page video stream is generated by the server based on whether operation data of at least one operation of the user on the first application program in a preset period sent by the terminal device is received;
The page video stream displaying module 520 is configured to display the page video stream through the first application program.
According to the device provided by the embodiment of the disclosure, the page video stream of the second application program is received, and therefore the page video stream is displayed through the first application program. Based on the scheme, when the terminal equipment cannot directly install or run the application program, the function of the application program can be realized, and the usability of the terminal equipment is improved.
Optionally, the apparatus further includes:
and the operation data reporting module is used for sending the operation data of at least one operation to the server when detecting at least one operation of the user on the first application program in the preset period before receiving the page video stream of the second application program in the preset period sent by the server.
It will be appreciated that the above-described modules of the control apparatus for an application in the embodiment of the present disclosure have functions of implementing the corresponding steps of the control method for an application in the embodiment shown in fig. 2. The functions can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above. The modules may be software and/or hardware, and each module may be implemented separately or may be implemented by integrating multiple modules. For the functional description of each module of the control device of the application program, reference may be specifically made to the corresponding description of the control method of the application program in the embodiment shown in fig. 2, which is not repeated herein.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the related user personal information all conform to the regulations of related laws and regulations, and the public sequence is not violated.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
The electronic device includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the control method of the application as provided by the embodiments of the present disclosure.
Compared with the prior art, the electronic device generates the page video stream of the second application program in the preset period by receiving the operation data of at least one operation of the user on the first application program in the preset period sent by the terminal device, so that the page video stream is returned to the terminal device, and the terminal device displays the page video stream through the first application program. Based on the scheme, when the terminal equipment cannot directly install or run the application program, the function of the application program can be realized, and the usability of the terminal equipment is improved.
The readable storage medium is a non-transitory computer readable storage medium storing computer instructions for causing a computer to execute a control method of an application program as provided by an embodiment of the present disclosure.
Compared with the prior art, the readable storage medium generates the page video stream of the second application program in the preset period by receiving the operation data of at least one operation of the user on the first application program in the preset period sent by the terminal equipment, so that the page video stream is returned to the terminal equipment, and the terminal equipment displays the page video stream through the first application program. Based on the scheme, when the terminal equipment cannot directly install or run the application program, the function of the application program can be realized, and the usability of the terminal equipment is improved.
The computer program product comprises a computer program which, when executed by a processor, implements a control method for an application program as provided by embodiments of the present disclosure.
Compared with the prior art, the computer program product generates the page video stream of the second application program in the preset period by receiving the operation data of at least one operation of the user on the first application program in the preset period sent by the terminal equipment, so that the page video stream is returned to the terminal equipment, and the terminal equipment displays the page video stream through the first application program. Based on the scheme, when the terminal equipment cannot directly install or run the application program, the function of the application program can be realized, and the usability of the terminal equipment is improved.
Fig. 6 shows a schematic block diagram of an example electronic device 2000 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 2000 includes a computing unit 2010 that may perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 2020 or a computer program loaded from a storage unit 2080 into a Random Access Memory (RAM) 2030. In the RAM 2030, various programs and data required for the operation of the device 2000 may also be stored. The computing unit 2010, ROM 2020, and RAM 2030 are connected to each other by a bus 2040. An input/output (I/O) interface 2050 is also connected to bus 2040.
Various components in the device 2000 are connected to the I/O interface 2050, including: an input unit 2060 such as a keyboard, a mouse, or the like; an output unit 2070, such as various types of displays, speakers, and the like; a storage unit 2080 such as a magnetic disk, an optical disk, or the like; and a communication unit 2090 such as a network card, modem, wireless communication transceiver, etc. The communication unit 2090 allows the device 2000 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 2010 may be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 2010 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The computing unit 2010 executes the control method of the application program provided in the embodiment of the present disclosure. For example, in some embodiments, the control methods of executing the application programs provided in the embodiments of the disclosure may be implemented as computer software programs tangibly embodied on a machine-readable medium, such as the storage unit 2080. In some embodiments, some or all of the computer program may be loaded and/or installed onto the device 2000 via the ROM 2020 and/or the communication unit 2090. When a computer program is loaded into RAM 2030 and executed by computing unit 2010, one or more steps of a control method of an application program provided in an embodiment of the disclosure may be performed. Alternatively, in other embodiments, the computing unit 2010 may be configured to execute the control methods of the application provided in the embodiments of the present disclosure in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed aspects are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (12)

1. A control method of an application program, comprising:
generating a page video stream of a second application program based on whether operation data of at least one operation of a user on the first application program in a preset period sent by the terminal equipment is received or not;
returning the page video stream to the terminal equipment, so that the terminal equipment displays the page video stream through the first application program;
the operation data comprises a first operation instruction corresponding to the at least one operation and a trigger time of the at least one operation;
If operation data of at least one operation of a user on a first application program in a preset period sent by terminal equipment is received, converting the first operation instruction into a second operation instruction on a second application program; determining the execution time of the second operation instruction based on the trigger time; processing the second operation instruction at the execution time to determine a program page of the second application program;
the first operation instruction is a click instruction, the first operation instruction includes data of a click position, the converting the first operation instruction into a second operation instruction for a second application program includes: converting the clicking position in the first operation instruction into a corresponding position in the program page of the second application program according to the position corresponding relation between the program page of the preconfigured first application program and the program page of the second application program;
if the operation data corresponds to a plurality of operations in a preset period, processing the second operation instruction at the execution time, and determining a program page of the second application program includes: and processing the second operation instruction in turn according to each execution time, so that the second application program sequentially generates a corresponding program page.
2. The method of claim 1, wherein generating the page video stream of the second application based on whether operation data of at least one operation of the first application by the user within a preset period transmitted by the terminal device is received, comprises:
if operation data of at least one operation of the user on the first application program in a preset period, which is sent by the terminal equipment, is not received, determining a program page of the second application program, and generating a page video stream based on the program page.
3. The method of claim 2, the generating a page video stream based on the program page, comprising:
and taking the page image of the program page as a frame image of a page video stream to generate the page video stream.
4. A method according to any of claims 1-3, the method further comprising, prior to said returning the page video stream to the terminal device:
and compressing the page video stream.
5. A method according to any one of claims 1-3, further comprising:
when a connection request of the terminal equipment is received, determining a target virtual machine associated with the terminal equipment or the user from at least one pre-deployed virtual machine;
And running the second application program through the target virtual machine.
6. A control method of an application program, comprising:
receiving a page video stream of a second application program sent by a server, wherein the page video stream is generated by the server based on whether operation data of at least one operation of a user on a first application program in a preset period sent by terminal equipment is received or not;
displaying the page video stream through the first application program;
the operation data comprises a first operation instruction corresponding to the at least one operation and a trigger time of the at least one operation;
if the operation data of the terminal equipment are sent to the server, the server is enabled to convert the first operation instruction into a second operation instruction for the second application program based on the first operation instruction; determining the execution time of the second operation instruction based on the trigger time; processing the second operation instruction at the execution time to determine a program page of the second application program;
the first operation instruction is a click instruction, the first operation instruction comprises data of a click position, and the server converts the first operation instruction into a second operation instruction for a second application program by the following modes: converting the clicking position in the first operation instruction into a corresponding position in the program page of the second application program according to the position corresponding relation between the program page of the preconfigured first application program and the program page of the second application program;
The operation data corresponds to a plurality of operations in a preset period, the server processes the second operation instruction at the execution time, and the program page of the second application program is determined by the following modes: and processing the second operation instruction in turn according to each execution time, so that the second application program sequentially generates a corresponding program page.
7. An application control device, comprising:
the page video stream generating module is used for generating a page video stream of the second application program based on whether operation data of at least one operation of a user on the first application program in a preset period sent by the terminal equipment is received or not;
the page video stream returning module is used for returning the page video stream to the terminal equipment so that the terminal equipment displays the page video stream through the first application program;
the operation data comprises a first operation instruction corresponding to the at least one operation and a trigger time of the at least one operation, and the page video stream generating module is further configured to: if operation data of at least one operation of a user on a first application program in a preset period sent by terminal equipment is received, converting the first operation instruction into a second operation instruction on a second application program; determining the execution time of the second operation instruction based on the trigger time; processing the second operation instruction at the execution time to determine a program page of the second application program;
The first operation instruction is a click instruction, the first operation instruction includes data of a click position, and the page video stream generating module is specifically configured to, when converting the first operation instruction into a second operation instruction for a second application program: converting the clicking position in the first operation instruction into a corresponding position in the program page of the second application program according to the position corresponding relation between the program page of the preconfigured first application program and the program page of the second application program;
the operation data corresponds to a plurality of operations in a preset period, and the page video stream generating module processes the second operation instruction at the execution time, and is specifically configured to: and processing the second operation instruction in turn according to each execution time, so that the second application program sequentially generates a corresponding program page.
8. The apparatus of claim 7, wherein the page video stream generation module is specifically configured to:
if operation data of at least one operation of the user on the first application program in a preset period, which is sent by the terminal equipment, is not received, determining a program page of the second application program, and generating a page video stream based on the program page.
9. The apparatus of claim 8, the page video stream generation module, when generating a page video stream based on the program page, is specifically configured to:
and taking the page image of the program page as a frame image of a page video stream to generate the page video stream.
10. An application control device, comprising:
the page video stream receiving module is used for receiving a page video stream of a second application program sent by the server, wherein the page video stream is generated by the server based on whether operation data of at least one operation of a user on the first application program in a preset period sent by the terminal equipment is received or not;
the page video stream display module is used for displaying the page video stream through the first application program;
the operation data comprises a first operation instruction corresponding to the at least one operation and a trigger time of the at least one operation;
if the operation data of the terminal equipment are sent to the server, the server is enabled to convert the first operation instruction into a second operation instruction for the second application program based on the first operation instruction; determining the execution time of the second operation instruction based on the trigger time; processing the second operation instruction at the execution time to determine a program page of the second application program;
The first operation instruction is a click instruction, the first operation instruction comprises data of a click position, and the server converts the first operation instruction into a second operation instruction for a second application program by the following modes: converting the clicking position in the first operation instruction into a corresponding position in the program page of the second application program according to the position corresponding relation between the program page of the preconfigured first application program and the program page of the second application program;
if the operation data corresponds to multiple operations in a preset period, the server processes the second operation instruction at the execution time, and determines a program page of the second application program by the following manner: and processing the second operation instruction in turn according to each execution time, so that the second application program sequentially generates a corresponding program page.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
12. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-6.
CN202111002525.5A 2021-08-30 2021-08-30 Application control method and device, electronic equipment and readable storage medium Active CN113760431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111002525.5A CN113760431B (en) 2021-08-30 2021-08-30 Application control method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111002525.5A CN113760431B (en) 2021-08-30 2021-08-30 Application control method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113760431A CN113760431A (en) 2021-12-07
CN113760431B true CN113760431B (en) 2024-03-29

Family

ID=78791718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111002525.5A Active CN113760431B (en) 2021-08-30 2021-08-30 Application control method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113760431B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107045508A (en) * 2016-02-05 2017-08-15 腾讯科技(深圳)有限公司 The treating method and apparatus of application program
CN109068179A (en) * 2018-09-17 2018-12-21 珠海市筑巢科技有限公司 A kind of multi-platform live broadcasting method, computer installation and computer readable storage medium
CN109510990A (en) * 2018-10-25 2019-03-22 深圳市腾讯信息技术有限公司 Image processing method and device, computer readable storage medium, electronic equipment
CN110187889A (en) * 2019-05-23 2019-08-30 腾讯科技(深圳)有限公司 A kind of application starting method, apparatus and storage medium
CN110222264A (en) * 2019-05-24 2019-09-10 苏州达家迎信息技术有限公司 Application maintenance control method, device, terminal, server and storage medium
CN111314330A (en) * 2020-02-05 2020-06-19 腾讯科技(深圳)有限公司 Network application operation method and device
CN111966275A (en) * 2020-09-15 2020-11-20 腾讯科技(深圳)有限公司 Program trial method, system, device, equipment and medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150355825A1 (en) * 2014-06-05 2015-12-10 International Business Machines Corporation Recorded history feature in operating system windowing system
CN109165050B (en) * 2018-07-05 2020-10-13 腾讯科技(深圳)有限公司 Program running method and device, computing equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107045508A (en) * 2016-02-05 2017-08-15 腾讯科技(深圳)有限公司 The treating method and apparatus of application program
CN109068179A (en) * 2018-09-17 2018-12-21 珠海市筑巢科技有限公司 A kind of multi-platform live broadcasting method, computer installation and computer readable storage medium
CN109510990A (en) * 2018-10-25 2019-03-22 深圳市腾讯信息技术有限公司 Image processing method and device, computer readable storage medium, electronic equipment
CN110187889A (en) * 2019-05-23 2019-08-30 腾讯科技(深圳)有限公司 A kind of application starting method, apparatus and storage medium
CN110222264A (en) * 2019-05-24 2019-09-10 苏州达家迎信息技术有限公司 Application maintenance control method, device, terminal, server and storage medium
CN111314330A (en) * 2020-02-05 2020-06-19 腾讯科技(深圳)有限公司 Network application operation method and device
CN111966275A (en) * 2020-09-15 2020-11-20 腾讯科技(深圳)有限公司 Program trial method, system, device, equipment and medium

Also Published As

Publication number Publication date
CN113760431A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
KR20220002750A (en) Low power integrated circuit to analyze a digitized audio stream
CN108234659B (en) Data processing method, device and system
CN110501918A (en) Intelligent electrical appliance control, device, electronic equipment and storage medium
CN113365146B (en) Method, apparatus, device, medium and article of manufacture for processing video
CN110675873A (en) Data processing method, device and equipment of intelligent equipment and storage medium
WO2023066183A1 (en) Data processing method and apparatus, device, and storage medium
CN113242358A (en) Audio data processing method, device and system, electronic equipment and storage medium
CN111443801A (en) Man-machine interaction method, device, equipment and storage medium
CN112994980A (en) Time delay testing method and device, electronic equipment and storage medium
CN113742174B (en) Cloud mobile phone application monitoring method and device, electronic equipment and storage medium
CN114051067A (en) Image acquisition method, apparatus, device, storage medium, and program product
CN113724398A (en) Augmented reality method, apparatus, device and storage medium
CN112382292A (en) Voice-based control method and device
CN113419865A (en) Cloud resource processing method, related device and computer program product
CN113760431B (en) Application control method and device, electronic equipment and readable storage medium
CN110012003B (en) Cloud application screen capturing method and device
CN112382294A (en) Voice recognition method and device, electronic equipment and storage medium
CN114374703B (en) Cloud mobile phone information acquisition method, device, equipment and storage medium
CN113641439B (en) Text recognition and display method, device, electronic equipment and medium
CN114185782A (en) Interactive testing method and device for virtual object and electronic equipment
CN114970883A (en) Model quantization method and device, electronic equipment and storage medium
CN114071192A (en) Information acquisition method, terminal, server, electronic device, and storage medium
CN113905040A (en) File transmission method, device, system, equipment and storage medium
CN112799623A (en) BMC-based server interface remote display method, system and related equipment
CN115220803A (en) Data processing method and 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