CN115314743B - Method and device for executing business function, storage medium and electronic device - Google Patents

Method and device for executing business function, storage medium and electronic device Download PDF

Info

Publication number
CN115314743B
CN115314743B CN202210761484.6A CN202210761484A CN115314743B CN 115314743 B CN115314743 B CN 115314743B CN 202210761484 A CN202210761484 A CN 202210761484A CN 115314743 B CN115314743 B CN 115314743B
Authority
CN
China
Prior art keywords
terminal
state data
multimedia playing
service function
equipment
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
CN202210761484.6A
Other languages
Chinese (zh)
Other versions
CN115314743A (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.)
Qingdao Haier Technology Co Ltd
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Qingdao Haier Intelligent Home Appliance Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202210761484.6A priority Critical patent/CN115314743B/en
Publication of CN115314743A publication Critical patent/CN115314743A/en
Application granted granted Critical
Publication of CN115314743B publication Critical patent/CN115314743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43076Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of the same content streams on multiple devices, e.g. when family members are watching the same movie on different devices
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/4223Cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used

Landscapes

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

Abstract

The invention discloses a method and a device for executing service functions, a storage medium and an electronic device, and relates to the technical field of smart families, wherein the method for executing the service functions comprises the following steps: forwarding the first synchronization request to the second terminal under the condition that the first terminal initiates the first synchronization request is determined; wherein, the first synchronization request carries the service function to be executed; determining current authorization information of the second terminal for the first synchronization request, and calling device state data associated with the second terminal based on the current authorization information, wherein the device state data comprises: the method comprises the steps that first equipment state data corresponding to the multimedia playing equipment and second equipment state data corresponding to the image acquisition device are interacted with each other; according to the equipment state data, whether the service function is executed on the multimedia playing equipment corresponding to the second terminal is determined, and the problems that in the prior art, the hardware configuration requirement on the multimedia playing equipment for executing the service function is too high can be solved.

Description

Method and device for executing business function, storage medium and electronic device
Technical Field
The present invention relates to the field of smart home, and in particular, to a method and apparatus for executing a service function, a storage medium, and an electronic apparatus.
Background
With the development of the age, the living habits of people are greatly changed, young people tend to watch television drama video through mobile phones, and parents are mostly televisions. The young person cannot personally accompany the parents to watch the television, and lacks the atmosphere feeling and the movement feeling of the family watching the television together. Most of the modern technologies are calls between parents and children, but immersive accompaniment, sitting together to watch a television, is very little interaction. The existing scheme can directly synchronize the television screen with the mobile phone in an interactive mode, but the method depends on the configuration of the television and the configuration of the mobile phone, not all televisions in families can be supported, and the configuration requirement on the television is high.
Aiming at the problems of high hardware configuration requirement and the like of multimedia playing equipment for executing service functions in the related art, an effective technical scheme has not been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for executing service functions, a storage medium and an electronic device, which at least solve the problems of high hardware configuration requirement on multimedia playing equipment for executing the service functions and the like in the related technology.
According to one embodiment of the present invention, there is provided a method for executing a service function, including: forwarding a first synchronization request to a second terminal under the condition that the first terminal initiates the first synchronization request; wherein, the first synchronization request carries the service function to be executed; determining current authorization information of the second terminal for the first synchronization request, and calling equipment state data associated with the second terminal based on the current authorization information, wherein the equipment state data comprises: the method comprises the steps that first equipment state data corresponding to multimedia playing equipment and second equipment state data corresponding to an image acquisition device exist data interaction between the multimedia playing equipment and the image acquisition device; and determining whether to execute the service function on the multimedia playing device corresponding to the second terminal according to the device state data.
In an exemplary embodiment, before determining whether to execute the service function on the multimedia playing device corresponding to the second terminal according to the device status data, the method further includes: feeding back first prompt information to a target object binding the second terminal under the condition that the first equipment state data indicates that the multimedia playing equipment is closed; the first prompt information is used for prompting a target object to execute starting operation on the multimedia playing device; and under the condition that the first equipment state data indicates that the multimedia playing equipment is started, determining whether the image acquisition device corresponding to the second equipment state data is started or not.
In an exemplary embodiment, in a case where the first device state data indicates that the multimedia playing device is turned on, determining whether the image capturing apparatus corresponding to the second device state data is enabled includes: feeding back a second prompt message to a target object binding the second terminal under the condition that the second equipment state data indicates that the image acquisition device is not started; the second prompt information is used for prompting a target object to execute starting operation on the image acquisition device; and under the condition that the second equipment state data indicates that the image acquisition device is started, acquiring real-time image data of the multimedia playing equipment by the image acquisition device and synchronizing the real-time image data to the first terminal.
In an exemplary embodiment, after the image capturing device captures real-time image data of the multimedia playing device and synchronizes the real-time image data to the first terminal, the method further includes: acquiring a target video played by the first terminal in a display interface; and synchronizing the target video to a playing interface corresponding to the multimedia playing equipment through the image acquisition device for displaying.
In one exemplary embodiment, determining current authorization information for the first synchronization request by the second terminal, invoking device state data associated with the second terminal based on the current authorization information, comprises: sending third prompt information to a target object bound with the second terminal, wherein the third prompt information is used for prompting that the second terminal has a first synchronous request; acquiring an operation instruction issued by the target object on an operation interface corresponding to a second terminal; and analyzing the operation instruction, and calling the equipment state data corresponding to the equipment connected with the second terminal from a database under the condition that the operation instruction indicates confirmation of authorization.
In an exemplary embodiment, determining whether to execute the service function on the multimedia playing device corresponding to the second terminal according to the device status data includes: under the condition that the execution of the service function is allowed on the multimedia playing device corresponding to the second terminal according to the device state data, feeding back success information to the first terminal and indicating the first terminal to play a preset first voice, wherein the first voice is used for informing that the service function of an object using the first terminal is synchronously completed; under the condition that the execution of the service function is forbidden on the multimedia playing device corresponding to the second terminal according to the device state data, feeding back failure information to the first terminal and indicating the first terminal to play a preset second voice; the second voice is used for informing that the synchronization of the object service function using the first terminal fails, requesting to confirm the failure information and reinitiating the synchronization request.
In an exemplary embodiment, after determining whether to execute the service function on the multimedia playing device corresponding to the second terminal according to the device status data, the method further includes: recording the sending time of the first synchronization request, and generating a synchronization event; generating a synchronization scene based on the synchronization event, and transmitting the synchronization scene to the first terminal and the second terminal; and under the condition that the first terminal and the second terminal simultaneously start the synchronous scene, cross-device synchronization of the service function is automatically completed.
According to another embodiment of the present invention, there is provided an execution apparatus of a service function, including: the synchronization module is used for forwarding the first synchronization request to the second terminal under the condition that the first terminal is determined to initiate the first synchronization request; wherein, the first synchronization request carries the service function to be executed; a first determining module, configured to determine current authorization information of the second terminal for the first synchronization request, and invoke device state data associated with the second terminal based on the current authorization information, where the device state data includes: the method comprises the steps that first equipment state data corresponding to multimedia playing equipment and second equipment state data corresponding to an image acquisition device exist data interaction between the multimedia playing equipment and the image acquisition device; and the second determining module is used for determining whether the service function is executed on the multimedia playing device corresponding to the second terminal according to the device state data.
In an exemplary embodiment, the above apparatus further includes: the third determining module is used for feeding back first prompt information to a target object binding the second terminal under the condition that the first equipment state data indicates that the multimedia playing equipment is closed; the first prompt information is used for prompting a target object to execute starting operation on the multimedia playing device; and under the condition that the first equipment state data indicates that the multimedia playing equipment is started, determining whether the image acquisition device corresponding to the second equipment state data is started or not.
In an exemplary embodiment, the above third determining module is further configured to, when the second device status data indicates that the image capturing apparatus is not enabled, feed back a second prompt message to a target object bound to the second terminal; the second prompt information is used for prompting a target object to execute starting operation on the image acquisition device; and under the condition that the second equipment state data indicates that the image acquisition device is started, acquiring real-time image data of the multimedia playing equipment by the image acquisition device and synchronizing the real-time image data to the first terminal.
In an exemplary embodiment, the third determining module further includes: the display unit is used for acquiring a target video played by the first terminal in a display interface; and synchronizing the target video to a playing interface corresponding to the multimedia playing equipment through the image acquisition device for displaying.
In an exemplary embodiment, the first determining module is further configured to send third prompting information to a target object bound to the second terminal, where the third prompting information is used to prompt the second terminal that there is a first synchronization request; acquiring an operation instruction issued by the target object on an operation interface corresponding to a second terminal; and analyzing the operation instruction, and calling the equipment state data corresponding to the equipment connected with the second terminal from a database under the condition that the operation instruction indicates confirmation of authorization.
In an exemplary embodiment, the second determining module is further configured to, in a case where it is determined that the execution of the service function is allowed on the multimedia playing device corresponding to the second terminal according to the device status data, feed back success information to the first terminal, and instruct the first terminal to play a preset first voice, where the first voice is used to inform that the synchronization of the service function using the object of the first terminal is completed; under the condition that the execution of the service function is forbidden on the multimedia playing device corresponding to the second terminal according to the device state data, feeding back failure information to the first terminal and indicating the first terminal to play a preset second voice; the second voice is used for informing that the synchronization of the object service function using the first terminal fails, requesting to confirm the failure information and reinitiating the synchronization request.
In an exemplary embodiment, the above apparatus further includes: the scene module is used for recording the sending time of the first synchronization request and generating a synchronization event; generating a synchronization scene based on the synchronization event, and transmitting the synchronization scene to the first terminal and the second terminal; and under the condition that the first terminal and the second terminal simultaneously start the synchronous scene, cross-device synchronization of the service function is automatically completed.
According to a further embodiment of the invention, there is also provided a storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the invention, there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the method and the device, under the condition that the first terminal initiates the first synchronization request, the first synchronization request is forwarded to the second terminal; wherein, the first synchronization request carries the service function to be executed; determining current authorization information of the second terminal for the first synchronization request, and calling device state data associated with the second terminal based on the current authorization information, wherein the device state data comprises: the method comprises the steps that first equipment state data corresponding to the multimedia playing equipment and second equipment state data corresponding to the image acquisition device are interacted with each other; according to the equipment state data, whether the service function is executed on the multimedia playing equipment corresponding to the second terminal is determined, namely, the multimedia playing equipment is associated with the image acquisition device, the image acquisition device is used as a basic condition for synchronous execution of the service function, and under the condition that the configuration of the multimedia playing equipment is low, the image acquisition device is used for forwarding data streams in the execution process of the corresponding service function, so that the problems that the hardware configuration of the multimedia playing equipment for executing the service function is too high in the prior art can be solved, and further, by combining the multimedia playing equipment with the image acquisition device, real-time pictures on the multimedia playing equipment can be determined by utilizing the image acquisition device, and the effectiveness of service function execution is ensured.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a hardware environment of a method for performing business functions according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of performing a business function according to an embodiment of the present invention;
FIG. 3 is a timing diagram of enhanced interactive participation by a home television in accordance with an alternative embodiment of the present invention;
Fig. 4 is a block diagram of a service function execution apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of a structure of an execution apparatus of another service function according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of an embodiment of the present invention, there is provided a method for executing a service function. The execution method of the business function is widely applied to full-house intelligent digital control application scenes such as intelligent Home (Smart Home), intelligent Home equipment ecology, intelligent Home (INTELLIGENCE HOUSE) ecology and the like. Alternatively, in the present embodiment, the above-described execution method of the service function may be applied to a hardware environment constituted by the terminal device 102 and the server 104 as shown in fig. 1. As shown in fig. 1, the server 104 is connected to the terminal device 102 through a network, and may be used to provide services (such as application services and the like) for a terminal or a client installed on the terminal, a database may be set on the server or independent of the server, for providing data storage services for the server 104, and cloud computing and/or edge computing services may be configured on the server or independent of the server, for providing data computing services for the server 104.
The network may include, but is not limited to, at least one of: wired network, wireless network. The wired network may include, but is not limited to, at least one of: a wide area network, a metropolitan area network, a local area network, and the wireless network may include, but is not limited to, at least one of: WIFI (WIRELESS FIDELITY ), bluetooth. The terminal device 102 may not be limited to a PC, a mobile phone, a tablet computer, an intelligent air conditioner, an intelligent smoke machine, an intelligent refrigerator, an intelligent oven, an intelligent cooking range, an intelligent washing machine, an intelligent water heater, an intelligent washing device, an intelligent dish washer, an intelligent projection device, an intelligent television, an intelligent clothes hanger, an intelligent curtain, an intelligent video, an intelligent socket, an intelligent sound box, an intelligent fresh air device, an intelligent kitchen and toilet device, an intelligent bathroom device, an intelligent sweeping robot, an intelligent window cleaning robot, an intelligent mopping robot, an intelligent air purifying device, an intelligent steam box, an intelligent microwave oven, an intelligent kitchen appliance, an intelligent purifier, an intelligent water dispenser, an intelligent door lock, and the like.
In this embodiment, a method for executing a service function is provided, and fig. 2 is a flowchart of a method for executing a service function according to an embodiment of the present invention, where the flowchart includes the following steps:
Step S202, forwarding a first synchronous request to a second terminal under the condition that the first terminal initiates the first synchronous request; wherein, the first synchronization request carries the service function to be executed;
Step S204, determining current authorization information of the second terminal for the first synchronization request, and calling device state data associated with the second terminal based on the current authorization information, where the device state data includes: the method comprises the steps that first equipment state data corresponding to multimedia playing equipment and second equipment state data corresponding to an image acquisition device exist data interaction between the multimedia playing equipment and the image acquisition device;
step S206, determining whether to execute the service function on the multimedia playing device corresponding to the second terminal according to the device state data.
Through the steps, under the condition that the first terminal initiates the first synchronization request, the first synchronization request is forwarded to the second terminal; wherein, the first synchronization request carries the service function to be executed; determining current authorization information of the second terminal for the first synchronization request, and calling device state data associated with the second terminal based on the current authorization information, wherein the device state data comprises: the method comprises the steps that first equipment state data corresponding to the multimedia playing equipment and second equipment state data corresponding to the image acquisition device are interacted with each other; according to the equipment state data, whether the service function is executed on the multimedia playing equipment corresponding to the second terminal is determined, namely, the multimedia playing equipment is associated with the image acquisition device, the image acquisition device is used as a basic condition for synchronous execution of the service function, and under the condition that the configuration of the multimedia playing equipment is low, the image acquisition device is used for forwarding data streams in the execution process of the corresponding service function, so that the problems that the hardware configuration of the multimedia playing equipment for executing the service function is too high in the prior art can be solved, and further, by combining the multimedia playing equipment with the image acquisition device, real-time pictures on the multimedia playing equipment can be determined by utilizing the image acquisition device, and the effectiveness of service function execution is ensured.
As an alternative embodiment, the above method may be run in the following scenario: user a initiates a request to synchronize watching tv, which is completed at the mobile phone end (corresponding to the first terminal in the above embodiment). After receiving the request from the user a, the communication server (corresponding to the second terminal in the above embodiment) sends the request to the user a and the user B of the requester, so as to notify the user a of a request for watching television synchronously. After receiving the request, the user B clicks a consent button to start calling the service supporting synchronous watching TV. The communication server side is used for enabling the service for synchronously watching television to go to the cloud end first to acquire data of the television equipment and the camera equipment bound under the current user B, and returning the data of the television equipment and the camera bound under the current family of the user. After judging that the television equipment corresponding to the user B is started but the camera is not started, automatically starting the camera function; for example, if the user turns off the television, the request is denied and the user is prompted to try the request after turning on the television; if the user turns on the television, the user looks at whether the current camera is on, if so, a request for starting the camera is sent to the cloud terminal, and the cloud terminal issues a command to the camera to start the camera device. The television data in the camera is synchronously transmitted to the user A, the user A can visualize the content watched by the user B in real time, namely, after the television is ensured to be played, the camera synchronizes the streaming data to the mobile phone end after being started, so that the mobile phone end can synchronize the television content at home in different places to watch.
In an exemplary embodiment, before determining whether to execute the service function on the multimedia playing device corresponding to the second terminal according to the device status data, the method further includes: feeding back first prompt information to a target object binding the second terminal under the condition that the first equipment state data indicates that the multimedia playing equipment is closed; the first prompt information is used for prompting a target object to execute starting operation on the multimedia playing device; and under the condition that the first equipment state data indicates that the multimedia playing equipment is started, determining whether the image acquisition device corresponding to the second equipment state data is started or not.
It will be appreciated that the above-described service functions are performed on the multimedia playing device on the basis of: the multimedia playing device is normally started, and the image acquisition device is normally started, namely, under the condition that the multimedia playing device and the image acquisition device are put into operation, the content information which is played by the corresponding multimedia playing device under the second terminal can be synchronized to the first terminal for display, so that the first terminal and the second terminal can play accompanying.
In an exemplary embodiment, in a case where the first device state data indicates that the multimedia playing device is turned on, determining whether the image capturing apparatus corresponding to the second device state data is enabled includes: feeding back a second prompt message to a target object binding the second terminal under the condition that the second equipment state data indicates that the image acquisition device is not started; the second prompt information is used for prompting a target object to execute starting operation on the image acquisition device; and under the condition that the second equipment state data indicates that the image acquisition device is started, acquiring real-time image data of the multimedia playing equipment by the image acquisition device and synchronizing the real-time image data to the first terminal.
In an exemplary embodiment, after the image capturing device captures real-time image data of the multimedia playing device and synchronizes the real-time image data to the first terminal, the method further includes: acquiring a target video played by the first terminal in a display interface; and synchronizing the target video to a playing interface corresponding to the multimedia playing equipment through the image acquisition device for displaying.
In one exemplary embodiment, determining current authorization information for the first synchronization request by the second terminal, invoking device state data associated with the second terminal based on the current authorization information, comprises: sending third prompt information to a target object bound with the second terminal, wherein the third prompt information is used for prompting that the second terminal has a first synchronous request; acquiring an operation instruction issued by the target object on an operation interface corresponding to a second terminal; and analyzing the operation instruction, and calling the equipment state data corresponding to the equipment connected with the second terminal from a database under the condition that the operation instruction indicates confirmation of authorization.
In an exemplary embodiment, determining whether to execute the service function on the multimedia playing device corresponding to the second terminal according to the device status data includes: under the condition that the execution of the service function is allowed on the multimedia playing device corresponding to the second terminal according to the device state data, feeding back success information to the first terminal and indicating the first terminal to play a preset first voice, wherein the first voice is used for informing that the service function of an object using the first terminal is synchronously completed; under the condition that the execution of the service function is forbidden on the multimedia playing device corresponding to the second terminal according to the device state data, feeding back failure information to the first terminal and indicating the first terminal to play a preset second voice; the second voice is used for informing that the synchronization of the object service function using the first terminal fails, requesting to confirm the failure information and reinitiating the synchronization request.
In an exemplary embodiment, after determining whether to execute the service function on the multimedia playing device corresponding to the second terminal according to the device status data, the method further includes: recording the sending time of the first synchronization request, and generating a synchronization event; generating a synchronization scene based on the synchronization event, and transmitting the synchronization scene to the first terminal and the second terminal; and under the condition that the first terminal and the second terminal simultaneously start the synchronous scene, cross-device synchronization of the service function is automatically completed.
In order to better understand the procedure of the execution method of the service function, the following describes the execution method flow of the service function in combination with several alternative embodiments.
As an alternative embodiment, a scheme for enhancing interaction participation of a home television is provided, and a camera (corresponding to an image acquisition device in the embodiment of the invention) is used for replacing data transmission of television equipment (corresponding to a multimedia playing device in the embodiment of the invention), so that multiple television equipment is supported, and the requirement on configuration of the television is not high. Meanwhile, the camera shooting function of the camera is utilized, and the camera shooting device can be used as a monitoring camera at ordinary times and can also be used as an entrance for sharing television content.
Optionally, fig. 3 is a timing diagram of enhanced interactive participation by a home television in accordance with an alternative embodiment of the present invention; the method comprises the following steps:
step 1, a user a initiates a request for watching television synchronously, and the request is completed at the mobile phone end (corresponding to the first terminal in the above embodiment).
Step 2, after receiving the request of the user a, the communication server (corresponding to the second terminal in the above embodiment) sends the request to the user a and the user B of the requester, so as to notify the user a of a request for watching television synchronously.
And 3, after receiving the request, the user B clicks a consent button to start calling the service supporting synchronous television watching.
And 4, the service for synchronously watching television firstly goes to the cloud to acquire the data of the television equipment and the camera equipment bound under the current user B.
And step 5, returning the television equipment and the camera bound in the current family of the user.
Step 6, after judging that the television equipment corresponding to the user B is started but the camera is not started, automatically starting the camera function;
For example, if the user turns off the television, the request is denied and the user is prompted to try the request after turning on the television; if the user turns on the television, the user looks at whether the current camera is on, if so, a request for starting the camera is sent to the cloud terminal, and the cloud terminal issues a command to the camera to start the camera device.
And 7, synchronously transmitting the television data in the camera to the user A, wherein the user A can visualize the content watched by the user B in real time, namely after the television is ensured to be played, the camera synchronizes the streaming data to the mobile phone end after the camera is started, so that the mobile phone end can synchronize the television content at home in different places for viewing.
That is, through the method, the interaction of watching television is changed into a common communication mode among families, the interaction among families is enhanced, in addition, the method combines the camera and the television, and the camera equipment is directly opened to shoot television content in a request mode, so that the operation of elderly people is simplified, the electronic product is more suitable for users, and the electronic product is more convenient and faster.
In sum, through above-mentioned scheme, provide more functions that can use for the camera, the camera not only can regard as the family to monitor and use, can connect the TV simultaneously and regard as sharing the TV content to use, more convenience of customers' life. Furthermore, not only the change of the home is seen, but also interaction with the family can be carried out, the condition of the family can be known in real time, emotion among the families can be improved by doing something together, and the whole scheme is realized more conveniently and practically without consuming excessive resources cost because the camera is popular in the families with the old at present.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the service functions described in the embodiments of the present invention.
The embodiment also provides a device for executing the service function, which is used for implementing the foregoing embodiment and the preferred implementation manner, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 4 is a block diagram of a service function execution apparatus according to an embodiment of the present invention, as shown in fig. 4, the apparatus includes:
a synchronization module 42, configured to forward, if it is determined that the first terminal initiates the first synchronization request, the first synchronization request to the second terminal; wherein, the first synchronization request carries the service function to be executed;
A first determining module 44, configured to determine current authorization information of the second terminal for the first synchronization request, and invoke device status data associated with the second terminal based on the current authorization information, where the device status data includes: the method comprises the steps that first equipment state data corresponding to multimedia playing equipment and second equipment state data corresponding to an image acquisition device exist data interaction between the multimedia playing equipment and the image acquisition device;
And a second determining module 46, configured to determine whether to execute the service function on the multimedia playing device corresponding to the second terminal according to the device status data.
Through the device, under the condition that the first terminal initiates the first synchronization request, the first synchronization request is forwarded to the second terminal; wherein, the first synchronization request carries the service function to be executed; determining current authorization information of the second terminal for the first synchronization request, and calling device state data associated with the second terminal based on the current authorization information, wherein the device state data comprises: the method comprises the steps that first equipment state data corresponding to the multimedia playing equipment and second equipment state data corresponding to the image acquisition device are interacted with each other; according to the equipment state data, whether the service function is executed on the multimedia playing equipment corresponding to the second terminal is determined, namely, the multimedia playing equipment is associated with the image acquisition device, the image acquisition device is used as a basic condition for synchronous execution of the service function, and under the condition that the configuration of the multimedia playing equipment is low, the image acquisition device is used for forwarding data streams in the execution process of the corresponding service function, so that the problems that the hardware configuration of the multimedia playing equipment for executing the service function is too high in the prior art can be solved, and further, by combining the multimedia playing equipment with the image acquisition device, real-time pictures on the multimedia playing equipment can be determined by utilizing the image acquisition device, and the effectiveness of service function execution is ensured.
Fig. 5 is a block diagram of another service function execution device according to an embodiment of the present invention, where fig. 5 includes not only all the modules in fig. 4, but also: a third determination module 52, a scene module 54.
In an exemplary embodiment, the above apparatus further includes: the third determining module is used for feeding back first prompt information to a target object binding the second terminal under the condition that the first equipment state data indicates that the multimedia playing equipment is closed; the first prompt information is used for prompting a target object to execute starting operation on the multimedia playing device; and under the condition that the first equipment state data indicates that the multimedia playing equipment is started, determining whether the image acquisition device corresponding to the second equipment state data is started or not.
In an exemplary embodiment, the above third determining module is further configured to, when the second device status data indicates that the image capturing apparatus is not enabled, feed back a second prompt message to a target object bound to the second terminal; the second prompt information is used for prompting a target object to execute starting operation on the image acquisition device; and under the condition that the second equipment state data indicates that the image acquisition device is started, acquiring real-time image data of the multimedia playing equipment by the image acquisition device and synchronizing the real-time image data to the first terminal.
In an exemplary embodiment, the third determining module further includes: the display unit is used for acquiring a target video played by the first terminal in a display interface; and synchronizing the target video to a playing interface corresponding to the multimedia playing equipment through the image acquisition device for displaying.
In an exemplary embodiment, the first determining module is further configured to send third prompting information to a target object bound to the second terminal, where the third prompting information is used to prompt the second terminal that there is a first synchronization request; acquiring an operation instruction issued by the target object on an operation interface corresponding to a second terminal; and analyzing the operation instruction, and calling the equipment state data corresponding to the equipment connected with the second terminal from a database under the condition that the operation instruction indicates confirmation of authorization.
In an exemplary embodiment, the second determining module is further configured to, in a case where it is determined that the execution of the service function is allowed on the multimedia playing device corresponding to the second terminal according to the device status data, feed back success information to the first terminal, and instruct the first terminal to play a preset first voice, where the first voice is used to inform that the synchronization of the service function using the object of the first terminal is completed; under the condition that the execution of the service function is forbidden on the multimedia playing device corresponding to the second terminal according to the device state data, feeding back failure information to the first terminal and indicating the first terminal to play a preset second voice; the second voice is used for informing that the synchronization of the object service function using the first terminal fails, requesting to confirm the failure information and reinitiating the synchronization request.
In an exemplary embodiment, the above apparatus further includes: the scene module is used for recording the sending time of the first synchronization request and generating a synchronization event; generating a synchronization scene based on the synchronization event, and transmitting the synchronization scene to the first terminal and the second terminal; and under the condition that the first terminal and the second terminal simultaneously start the synchronous scene, cross-device synchronization of the service function is automatically completed.
In the description of the present invention, it should be understood that the directions or positional relationships indicated by the terms "center", "upper", "lower", "front", "rear", "left", "right", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the apparatus or component to be referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of the two components. When an element is referred to as being "mounted" or "disposed" on another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. It will be understood by those of ordinary skill in the art that the terms described above are in the specific sense of the present invention.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; or the above modules may be located in different processors in any combination.
An embodiment of the invention also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
In an exemplary embodiment, in the present embodiment, the above-described storage medium may be configured to store a computer program for performing the steps of:
S1, under the condition that a first terminal initiates a first synchronization request, forwarding the first synchronization request to a second terminal; wherein, the first synchronization request carries the service function to be executed;
s2, determining current authorization information of the second terminal for the first synchronization request, and calling equipment state data associated with the second terminal based on the current authorization information, wherein the equipment state data comprises: the method comprises the steps that first equipment state data corresponding to multimedia playing equipment and second equipment state data corresponding to an image acquisition device exist data interaction between the multimedia playing equipment and the image acquisition device;
s3, determining whether to execute the service function on the multimedia playing device corresponding to the second terminal according to the device state data.
In an exemplary embodiment, in the present embodiment, the storage medium may include, but is not limited to: a usb disk, a read-only memory (ROM), a random access memory (Random Access Memory RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic apparatus may further include a transmission device connected to the processor, and an input/output device connected to the processor.
In an exemplary embodiment, in this embodiment, the above-mentioned processor may be configured to execute the following steps by a computer program:
S1, under the condition that a first terminal initiates a first synchronization request, forwarding the first synchronization request to a second terminal; wherein, the first synchronization request carries the service function to be executed;
s2, determining current authorization information of the second terminal for the first synchronization request, and calling equipment state data associated with the second terminal based on the current authorization information, wherein the equipment state data comprises: the method comprises the steps that first equipment state data corresponding to multimedia playing equipment and second equipment state data corresponding to an image acquisition device exist data interaction between the multimedia playing equipment and the image acquisition device;
s3, determining whether to execute the service function on the multimedia playing device corresponding to the second terminal according to the device state data.
In an exemplary embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementations, and this embodiment is not repeated herein.
It will be apparent to those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, and in one exemplary embodiment they may be implemented in program code executable by a computing device, so that they may be stored in a memory device for execution by a computing device, and in some cases, the steps shown or described may be performed in a different order than what is shown or described, or they may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps in them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (10)

1. A method for performing a business function, comprising:
Forwarding a first synchronization request to a second terminal under the condition that the first terminal initiates the first synchronization request; wherein, the first synchronization request carries the service function to be executed;
Determining current authorization information of the second terminal for the first synchronization request, and calling equipment state data associated with the second terminal based on the current authorization information, wherein the equipment state data comprises: the method comprises the steps that first equipment state data corresponding to multimedia playing equipment and second equipment state data corresponding to an image acquisition device exist data interaction between the multimedia playing equipment and the image acquisition device;
Determining whether to execute the service function on the multimedia playing device corresponding to the second terminal according to the device state data;
and under the condition that the multimedia playing device is started and the image acquisition device is started, acquiring real-time image data of the multimedia playing device by the image acquisition device and synchronizing the real-time image data to the first terminal.
2. The method for executing the service function according to claim 1, wherein before determining whether to execute the service function on the multimedia playing device corresponding to the second terminal according to the device status data, the method further comprises:
feeding back first prompt information to a target object binding the second terminal under the condition that the first equipment state data indicates that the multimedia playing equipment is closed; the first prompt information is used for prompting a target object to execute starting operation on the multimedia playing device;
and under the condition that the first equipment state data indicates that the multimedia playing equipment is started, determining whether the image acquisition device corresponding to the second equipment state data is started or not.
3. The method for executing a service function according to claim 2, wherein, in the case where the first device state data indicates that the multimedia playing device is turned on, determining whether the image capturing apparatus corresponding to the second device state data is enabled includes:
feeding back a second prompt message to a target object binding the second terminal under the condition that the second equipment state data indicates that the image acquisition device is not started; the second prompt information is used for prompting the target object to execute starting operation on the image acquisition device.
4. The method for executing a service function according to claim 1, wherein after the image capturing device captures real-time image data of the multimedia playing device and synchronizes the real-time image data to the first terminal, the method further comprises:
acquiring a target video played by the first terminal in a display interface;
and synchronizing the target video to a playing interface corresponding to the multimedia playing equipment through the image acquisition device for displaying.
5. The method for performing a business function of claim 1, wherein determining current authorization information for the first synchronization request by the second terminal, invoking device state data associated with the second terminal based on the current authorization information, comprises:
sending third prompt information to a target object bound with the second terminal, wherein the third prompt information is used for prompting that the second terminal has a first synchronous request;
acquiring an operation instruction issued by the target object on an operation interface corresponding to a second terminal;
And analyzing the operation instruction, and calling the equipment state data corresponding to the equipment connected with the second terminal from a database under the condition that the operation instruction indicates confirmation of authorization.
6. The method for executing the service function according to claim 1, wherein determining whether to execute the service function on the multimedia playing device corresponding to the second terminal according to the device status data comprises:
Under the condition that the execution of the service function is allowed on the multimedia playing device corresponding to the second terminal according to the device state data, feeding back success information to the first terminal and indicating the first terminal to play a preset first voice, wherein the first voice is used for informing that the service function of an object using the first terminal is synchronously completed;
Under the condition that the execution of the service function is forbidden on the multimedia playing device corresponding to the second terminal according to the device state data, feeding back failure information to the first terminal and indicating the first terminal to play a preset second voice; the second voice is used for informing that the synchronization of the object service function using the first terminal fails, requesting to confirm the failure information and reinitiating the synchronization request.
7. The method for executing the service function according to claim 1, wherein after determining whether to execute the service function on the multimedia playing device corresponding to the second terminal according to the device status data, the method further comprises:
Recording the sending time of the first synchronization request, and generating a synchronization event;
Generating a synchronization scene based on the synchronization event, and transmitting the synchronization scene to the first terminal and the terminal;
and under the condition that the first terminal and the second terminal simultaneously start the synchronous scene, cross-device synchronization of the service function is automatically completed.
8. A service function execution apparatus, comprising:
The synchronization module is used for forwarding the first synchronization request to the second terminal under the condition that the first terminal is determined to initiate the first synchronization request; wherein, the first synchronization request carries the service function to be executed;
A first determining module, configured to determine current authorization information of the second terminal for the first synchronization request, and invoke device state data associated with the second terminal based on the current authorization information, where the device state data includes: the method comprises the steps that first equipment state data corresponding to multimedia playing equipment and second equipment state data corresponding to an image acquisition device exist data interaction between the multimedia playing equipment and the image acquisition device;
the second determining module is used for determining whether the service function is executed on the multimedia playing device corresponding to the second terminal according to the device state data;
The apparatus further comprises: and the third determining module is used for acquiring real-time image data of the multimedia playing device through the image acquisition device and synchronizing the real-time image data to the first terminal under the condition that the multimedia playing device is started and the image acquisition device is started.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program when executed by a processor performs the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of claims 1 to 7 by means of the computer program.
CN202210761484.6A 2022-06-30 2022-06-30 Method and device for executing business function, storage medium and electronic device Active CN115314743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210761484.6A CN115314743B (en) 2022-06-30 2022-06-30 Method and device for executing business function, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210761484.6A CN115314743B (en) 2022-06-30 2022-06-30 Method and device for executing business function, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN115314743A CN115314743A (en) 2022-11-08
CN115314743B true CN115314743B (en) 2024-04-19

Family

ID=83855633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210761484.6A Active CN115314743B (en) 2022-06-30 2022-06-30 Method and device for executing business function, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN115314743B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110138049A (en) * 2010-06-18 2011-12-26 주식회사 시큐인포 Monitoring system using smart phone
CN103595786A (en) * 2013-11-12 2014-02-19 惠州Tcl移动通信有限公司 Electronic device monitoring method and electronic devices
CN105100748A (en) * 2015-08-31 2015-11-25 深圳市茁壮网络股份有限公司 Video monitoring system and video monitoring method
CN105282490A (en) * 2014-06-25 2016-01-27 北京聚安威视觉信息技术有限公司 Novel empty nester smart home interaction system and method
CN105721927A (en) * 2016-02-01 2016-06-29 Tcl集团股份有限公司 Virtual drawing room display system and virtual drawing room display method
CN107278372A (en) * 2017-04-01 2017-10-20 深圳市智晟达科技有限公司 The method and DTV of a kind of remote monitoring television for play
CN107659608A (en) * 2017-07-24 2018-02-02 北京小豆儿机器人科技有限公司 A kind of emotional affection based on endowment robot shows loving care for system
CN111526407A (en) * 2020-04-03 2020-08-11 华为技术有限公司 Screen content display method and device
CN112565852A (en) * 2020-12-03 2021-03-26 深圳创维-Rgb电子有限公司 Multi-device interaction method and device, electronic device and storage medium
CN113794917A (en) * 2021-09-15 2021-12-14 海信视像科技股份有限公司 Display device and display control method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110138049A (en) * 2010-06-18 2011-12-26 주식회사 시큐인포 Monitoring system using smart phone
CN103595786A (en) * 2013-11-12 2014-02-19 惠州Tcl移动通信有限公司 Electronic device monitoring method and electronic devices
CN105282490A (en) * 2014-06-25 2016-01-27 北京聚安威视觉信息技术有限公司 Novel empty nester smart home interaction system and method
CN105100748A (en) * 2015-08-31 2015-11-25 深圳市茁壮网络股份有限公司 Video monitoring system and video monitoring method
CN105721927A (en) * 2016-02-01 2016-06-29 Tcl集团股份有限公司 Virtual drawing room display system and virtual drawing room display method
CN107278372A (en) * 2017-04-01 2017-10-20 深圳市智晟达科技有限公司 The method and DTV of a kind of remote monitoring television for play
CN107659608A (en) * 2017-07-24 2018-02-02 北京小豆儿机器人科技有限公司 A kind of emotional affection based on endowment robot shows loving care for system
CN111526407A (en) * 2020-04-03 2020-08-11 华为技术有限公司 Screen content display method and device
CN112565852A (en) * 2020-12-03 2021-03-26 深圳创维-Rgb电子有限公司 Multi-device interaction method and device, electronic device and storage medium
CN113794917A (en) * 2021-09-15 2021-12-14 海信视像科技股份有限公司 Display device and display control method

Also Published As

Publication number Publication date
CN115314743A (en) 2022-11-08

Similar Documents

Publication Publication Date Title
US8307201B2 (en) Information processing system, service providing apparatus and method, information processing apparatus and method, recording medium, and program
CN104871552B (en) Handle the apparatus and method of interactive service
CN109725863B (en) Method, device, equipment and system for screen projection
CN106998490B (en) A kind of multi-medium data synchronous method and device
JP6273048B1 (en) Distribution system, distribution server, terminal and program
CN108632632A (en) A kind of data processing method and device of network direct broadcasting
CN107371044A (en) Electronic equipment interactive method, electronic equipment, user terminal and server
CN106341702A (en) Interaction method based on television programs and mobile terminal
WO2016119504A1 (en) Method and apparatus for sharing media programme
CN106027343B (en) Information-pushing method and device, electronic equipment
CN108635863A (en) A kind of data processing method and device of network direct broadcasting
CN114430494B (en) Interface display method, device, equipment and storage medium
CN109039872A (en) Exchange method, device, electronic equipment and the storage medium of Instant audio messages
CN103428572A (en) Method, device and system for performing channel surfing
CN103414856A (en) Method and device for carrying out channel preview
CN105898602A (en) Interaction method and system
CN115314743B (en) Method and device for executing business function, storage medium and electronic device
KR101416833B1 (en) System, apparatus ans method for providing personal broadcasting service by scheduling
CN105578241B (en) A kind of information interacting method, system and relevant device
JP2018110377A (en) Distribution system, distribution server, terminal and program
WO2023011021A1 (en) Live picture display method and apparatus, storage medium, and electronic device
JP2006108996A (en) System and method for introducing virtual communication space, and computer program
CN115297352B (en) Video continuous playing method and device, storage medium and electronic device
CN115001887B (en) Login identification sending method and device, storage medium and electronic device
CN104918099B (en) A kind of multimedia timer playback method, terminal and system

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