CN106302617B - Data processing method and device applied to computing device - Google Patents

Data processing method and device applied to computing device Download PDF

Info

Publication number
CN106302617B
CN106302617B CN201510319774.5A CN201510319774A CN106302617B CN 106302617 B CN106302617 B CN 106302617B CN 201510319774 A CN201510319774 A CN 201510319774A CN 106302617 B CN106302617 B CN 106302617B
Authority
CN
China
Prior art keywords
application
user
information
uninstalled
user partition
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
CN201510319774.5A
Other languages
Chinese (zh)
Other versions
CN106302617A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510319774.5A priority Critical patent/CN106302617B/en
Priority to PCT/CN2016/084604 priority patent/WO2016197867A1/en
Publication of CN106302617A publication Critical patent/CN106302617A/en
Application granted granted Critical
Publication of CN106302617B publication Critical patent/CN106302617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides a data processing method and device applied to computing equipment, wherein the data processing method specifically comprises the following steps: after a client is connected, mounting a user partition corresponding to a login user of the client to the local; and writing the user data generated by the login user into the mounted user partition. According to the embodiment of the application, the calculation resources of the server side can be saved, and the access efficiency of the user data can be improved.

Description

Data processing method and device applied to computing device
Technical Field
The present application relates to the field of network communication technologies, and in particular, to a data processing method applied to a computing device, and an intelligent television system.
Background
At present, with the development of network communication technology, a technology that a server side provides service resources for a client side through a plurality of devices is applied. For example, a server may deploy multiple computing devices without any distinction between the computing devices, so that the same service can be provided for a client, and a client may be allocated with one computing device in a free and good state through scheduling.
However, the client can only access one currently connected computing device, and each computing device has independent storage space, so that the user's access requirements for all historical data may not be met. For example, after the client establishes a connection with the assigned computing device 001, the historical data of user a is stored to the computing device 001; whereas if the client establishes a connection with the assigned computing device 002 after disconnecting from the assigned computing device 001, the client will likely not have access to the previous historical data stored on computing device 001.
In order to satisfy the user's access requirement for all historical data, the computing device 002 can obtain other computing devices (such as the computing device 001) connected by the user a through the access scheduling server, and further obtain the historical data of the user a through accessing other computing devices, however, the operations of accessing the scheduling server and accessing other computing devices consume the computing resources of the computing device 002, the scheduling server and other computing devices, and affect the access efficiency of the user data.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present application is to provide a data processing method applied to a computing device, which can save computing resources at a server side and improve access efficiency of user data.
Correspondingly, the embodiment of the application also provides a computing device and an intelligent television system, which are used for ensuring the implementation and application of the method.
In order to solve the above problem, the present application discloses a data processing method applied to a computing device, including:
after a client is connected, mounting a user partition corresponding to a login user of the client to the local;
and writing the user data generated by the login user into the mounted user partition.
In another aspect, the present application discloses a computing device comprising:
the partition mounting module is used for mounting a user partition corresponding to a login user of a client to the local after the client is connected; and
and the partition writing module is used for writing the user data generated by the login user into the mounted user partition.
In another aspect, the present application discloses a smart tv system, including: the computing device described above.
Compared with the prior art, the embodiment of the application has the following advantages:
the embodiment of the application realizes the function that the user partition is used for specially storing the user data generated by the user by writing the user data generated by the login user into the mounted user partition instead of writing the user data into other catalogs of the computing equipment; therefore, no matter which computing device the login user is connected with through the client, the connected computing device can be mounted and the user partition corresponding to the login user is adopted to store the user data adopted by the login user, so that the user partition can store all historical data generated by the user, and the user partition can meet the access requirements of the user on all historical data;
therefore, compared with the prior art that historical operations of the user are obtained by accessing the scheduling server and other computing devices, the embodiment of the application can execute simple mounting and writing operations, so that computing resources of server terminals such as the computing devices, the scheduling server and other computing devices can be saved, and the access efficiency of user data can be improved;
moreover, compared with the existing scheme that user data is stored in computing equipment connected to the client each time, and historical data of the user is downloaded through other computing equipment, the user data generated by the login user in the embodiment of the application can not be written into the storage space of the current computing equipment, so that the embodiment of the application can also save the storage space of the computing equipment.
Drawings
Fig. 1 is a schematic structural diagram of a smart television system according to the present application;
FIG. 2 is a flowchart illustrating a first embodiment of a data processing method applied to a computing device according to the present application;
FIG. 3 is a flowchart illustrating steps of a second embodiment of a data processing method applied to a computing device according to the present application;
FIG. 4 is a flowchart illustrating steps of an example of a data processing method of the present application as applied to a computing device;
FIG. 5 is a flowchart illustrating steps of a third embodiment of a data processing method applied to a computing device according to the present application;
FIG. 6 is a flowchart illustrating steps of an example of a data processing method of the present application as applied to a computing device;
FIG. 7 is a block diagram of a computing device embodiment of the present application; and
fig. 8 is a block diagram of an embodiment of a smart tv system according to the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
One of the core ideas of the embodiment of the application is that user partitions corresponding to users are established to specially store user data generated by the users, the user partitions are independent from a storage space of the computing device, for each user partition, the corresponding user can be mounted on the computing device after the user logs in, and the user partition can not have a mounting relation with the computing device when the corresponding user does not log in; each user partition can correspond to a user, so that no matter which computing device is connected with the user through the client, the connected computing device can store user data adopted by the user by adopting the user partition corresponding to the user, namely the user partition can store all historical data generated by the user, and the access requirements of the user on all historical data can be met; assuming that user partition a corresponds to user a, user a may store the generated user data using user partition a and may view all historical data by accessing user partition a even if computing device 002 is connected next time after the client is disconnected from the last assigned computing device 001.
The embodiment of the application can be applied to application scenes that various server sides provide service resources for the client side through a plurality of computing devices. The service providing device is mainly used as an example of the computing device, and other computing devices and corresponding application scenarios may be referred to each other.
The application provides a smart television system, and the smart television system can include: at least one server, at least one client, at least one service providing device; wherein the server is used for distributing service providing equipment to the client; the client can be arranged in the smart television, and the service providing equipment is arranged on the network side and used for providing internet service for the client establishing connection through the network. After receiving a login request of a client, the server may select one service providing device from a plurality of service providing devices in the cloud to allocate to the client according to a set allocation policy.
In a preferred embodiment of the present application, the smart television system may further include at least one user data information storage device; the at least one user data information storage device may specifically include: at least one user partition; the at least one user partition is used for storing user data corresponding to different clients respectively.
In another preferred embodiment of the present application, the service providing device may specifically include: a network set-top box; the internet service may specifically include at least one of the following: live television, audio and video services, web services and game services.
In the traditional scheme, a common set top box is always old, the performance is weak, large-scale games and applications cannot be operated, and users often need to upgrade or replace the updated set top box to meet entertainment requirements of the large-scale games, the applications and the like.
The embodiment of the application can integrate the OTT (over the top ball) network set top box with stronger performance to the cloud equipment server, and transmit the performance of the OTT network set top box to the common set top box corresponding to the client with weaker performance through the network by the video streaming technology, so that the common set top box can use the high-end function without upgrading hardware. In a specific implementation, all functional data in an OTT set-top box (e.g., a makita magic box) with a relatively strong performance may be streamed and provided to a common set-top box, where the functions include, but are not limited to: games, applications, movies, television shows, education, video chat, karaoke, etc.
In a specific implementation, the performance of each network set-top box in the device server includes but is not limited to: the technical personnel in the field can quantize indexes of the performance according to actual needs so as to realize that large games and applications on the market at present run on the network set top box and films with specifications of 1080P, 2K and the like are played.
For a common set-top box, it may have a performance of playing a video stream and a performance of accessing an IP (Internet Protocol) network, where the format of the video stream may be RTSP (Real Time Streaming Protocol)720P, and the like. For the common set-top box with the above-mentioned performance, after the client corresponding to the network set-top box is installed, the key value instruction can be uploaded by the client, the transport stream from the network set-top box is received and played,
in summary, functional data of large games and applications can be run in the cloud device server, and the data can be transmitted to the common set top box in the form of RTSP video stream for playing, so that the purpose of high-end entertainment using the common set top box can be achieved. In addition, the method and the device for setting the set top box are applicable to telecom/radio and television operators so as to enhance the performance of the existing ordinary set top boxes of the operators.
It should be noted that, in the solution of the present application, the service providing device may be set in a cloud as a hardware device, software (an application program) may be installed in the service providing device, the service providing device may encode UIs (User interfaces) of various application programs in the cloud, and the client may have basic decoding performance to present the User interfaces of the application programs to a User, so as to implement operations on various application programs. In other words, in the solution of the present application, software (application program) may be installed in the service providing device, and the service is provided to the user through the service providing device, which may be applied to an existing ordinary set-top box or an intelligent terminal having the same performance of playing a video stream and accessing an IP network as the ordinary set-top box. For example, the intelligent terminal can be directly connected with the service providing equipment through the client, and a user does not need to separately purchase/update a set top box, so that the user cost is saved; meanwhile, the intelligent terminal and the service providing equipment can directly interact, so that the interaction efficiency is improved, the maintenance steps of the set top box are reduced, and the occupation of resources is reduced. Further, the server may refer to one server, or may refer to a server group including a plurality of servers having the same function as the scheduling server.
Referring to fig. 1, a schematic structural diagram of an intelligent television system of the present application is shown, which may specifically include: at least one client (such as client 101 shown in fig. 1), at least one device server (such as device server 102 shown in fig. 1), and at least one dispatch server (such as dispatch server 103 shown in fig. 1). Each device server 101 includes at least one service providing device (e.g., the service providing device 121 in the device server 102 shown in fig. 1).
Furthermore, preferably, the smart television system may further include: at least one management server (e.g., management server 104 shown in fig. 1) and at least one user data information storage device (e.g., user data information storage device 105 shown in fig. 1). It should be noted that the user data information storage device is used to store user data information, one user may correspond to one dedicated user data information storage device, and multiple users may also share the same user data information storage device, which is not limited in this embodiment. The user data information storage device may be a physical device, a logical device, or a combination of physical and logical devices. For example, the user data information storage device may include at least one user partition (e.g., user partition 151 shown in fig. 1), where each user partition stores user data information of one user.
The client 101 is located at the intelligent terminal side, and may be in the form of an APP loaded in the intelligent terminal; on one hand, the client 101 is operable to play a UI parsed by a TS (Transport Stream) sent by the service providing device 121, and play multimedia data (e.g., video signals, audio signals, etc.) acquired from other network servers; on the other hand, the client 101 may be configured to listen to an input message generated by a user through an input device such as a remote controller, and transmit the input message to the service providing apparatus 121 or the scheduling server 103; therefore, the client 101 may receive the data related to the user interface (e.g., user interfaces of various applications such as game applications and video applications) pushed by the service providing device 121, and analyze and display the received data related to the user interface; moreover, the client 101 may also forward the received input message of the user for the user interface control to the service providing device 121 so as to update the user interface accordingly;
the service providing devices 121 are located on the network side, and the number of the service providing devices 121 may be set according to system requirements, where each service providing device 121 specifically includes: the hardware board card and a software module borne by the hardware board card; the software module of the service providing device 121 may be based on an operating system such as android, so that a plurality of applications (such as game applications, video applications, etc.) can be installed in each service providing device 121 through the operating system, and information of the installed applications is transmitted to the client 101 through the TS stream, so that the client 101 can select a desired application from the plurality of installed applications; it should be noted that android is only an example of an operating system used by the service providing device 121, and the embodiment of the present application does not limit a specific operating system used by the service providing device 121;
the user partitions 151 are located on the network side, the number of the user partitions 151 can be determined according to the information of the registered users, the data partitions 105 and the registered users can have a one-to-one correspondence relationship, and usually, after the registration of a new user is completed, one or more corresponding user partitions 151 can be established for the corresponding new user; for each user partition 151, it may be mounted on the service providing device 121 after its corresponding user logs in, and it may not have a mounting relationship with the service providing device 121 when its corresponding user does not log in;
the scheduling server 103 is located on the network side, and is mainly used for completing login of a user corresponding to the client 101 according to an input message sent by the client 101, and allocating an idle service providing device 121 with a good state to be docked with the client 102; meanwhile, the user partition 151 corresponding to the login user may also be determined according to an ID (Identity) of the login user, and address information of the user partition 151 is sent to the service providing device 121, so that the service providing device 121 mounts the user partition 151 to the allocated service providing device 121; it can be seen that each user partition 151 may correspond to a unique user, such as user a corresponding to user partition a, etc., so that after the client 101 is disconnected from the service providing device 121 numbered 001 assigned last time, user a may still use user partition a to store the generated user data even if the service providing device 121 numbered 002 is connected next time, and thus may view all the history data by accessing user partition a;
the management server 104 is located on the network side, and may be configured to manage all the service providing devices 121, where the management specifically includes: state reporting, heartbeat management, attribute setting, attribute obtaining, network awakening, soft restarting, hard restarting and the like.
Example one
Referring to fig. 2, a flowchart illustrating steps of a first embodiment of a data processing method applied to a computing device according to the present application is shown, which may specifically include the following steps:
step 201, after connecting a client, mounting a user partition corresponding to a login user of the client to the local;
mounting may be used to indicate the operation of mounting a storage device or disk partition to an existing directory, and in particular, in embodiments of the present application, mounting may be used to indicate the operation of mounting a user partition to an existing local directory in a computing device. The mounted user partition may be used to represent a user partition that has already been attached to a local directory of the computing device, and when the local directory is opened locally by the computing device, data files under the user partition to which it is attached may be directly accessed.
In specific implementation, the user partition may be implemented by using a Storage Network (Storage Network) technology, and the Storage Network technology separates a Storage from an application server for centralized management, so that the Storage Network has the advantages of uniformity, easy expansion, and the like. The storage network technology may specifically include: NAS (Network-attached Storage) and SAN (Storage Area Network) technologies and the like; wherein, a user of the NAS technology can access data through TCP/IP (Transmission Control Protocol/Internet Protocol ), and share the data by using standard File sharing protocols such as NFS (Network File System), HTTP (Hypertext transfer Protocol), CIFS (Common Internet File System), and the like; the user of SAN technology can access data through a dedicated FIBRE CHANNEL switch, and may adopt SCSI (small computer system interface), FC-AL (FIBRE CHANNEL ARBITRATED LOOP), and other interfaces. The embodiment of the application mainly takes the NAS technology as an example to explain the user partition and the mounting process thereof, and the user partition and the mounting process thereof of other storage network technologies can be referred to each other.
In an application example of the present application, the NAS storage device may specifically include: disk arrays, CD/DVD drives, tape drives, or removable storage media; a plurality of directories may be divided on one disk, where each directory may correspond to one user partition, that is, the user partition corresponds to a directory in the NAS storage device.
In a preferred embodiment of the present application, the step of mounting the user partition corresponding to the login user of the client to the local may specifically include:
substep A1, receiving address information of a user partition corresponding to the login user sent by the server;
in a specific implementation, the step of receiving address information of a user partition corresponding to a login user sent by a server may specifically include:
substep A11, receiving address information of a user partition corresponding to the login user pushed by the server; or
On one hand, before the server schedules and allocates the computing equipment to the client, the client logs in the server in a user ID mode and the like, so that the server already knows the information (such as a user ID) of the login user of the client before the client connects the computing equipment, and therefore the server can determine the address information of the user partition corresponding to the login user according to the ID (Identity) of the login user; on the other hand, since the computing device connected to the client is scheduled by the server, the server already knows the address information (e.g., IP address information) of the computing device before the client connects to the computing device; therefore, the server can push the address information of the user partition corresponding to the login user to the corresponding computing device according to the address information of the computing device.
In practical application, the server may pre-establish and maintain a mapping relationship between the user and the user partition, for example, a mapping relationship in which the user ID is address information of the user partition, so that address information of the user partition matched with the ID of the login user may be searched in the mapping relationship according to the ID of the login user.
And a substep A12, sending a mount request to a server, wherein the mount request carries the information of the login user, and receiving the address information of the user partition corresponding to the login user, which is returned by the server according to the mount request.
In sub-step a12, the computing device may obtain address information of the user partition corresponding to the logged-in user in a request-response manner.
In an application example of the present application, the mount of the user partition may be implemented by using NFS technology. Specifically, the computing device may implement an NFS client, and the server may implement an NFS server, so that the computing device may receive, through the NFS client, address information of a user partition corresponding to a login user sent by the NFS server of the server.
In an application example of the present application, the address information of the user partition corresponding to the login user may specifically include: the network address of the server and the directory address of the user partition, for example, the received address information of the user partition corresponding to the login user ishttp://10.10.88.69/nfs/001Wherein 10.10.88.69 denotes the IP address of the server, nfs/001 denotes the disk directory of the user partition corresponding to the login user on the server.
And a substep A2, according to the address information of the user partition corresponding to the login user, mounting the user partition corresponding to the login user of the client to the local.
In a specific implementation, the user partition corresponding to the login user of the client may be mounted to a local user partition directory, where the user partition directory may be preset, or may be temporarily created by the computing device after receiving address information of the user partition corresponding to the login user. Since the user partition corresponding to the login user of the client is mounted to the local user partition directory, such as the service providing device/data, when the user partition directory is opened by the computing device, the remote user partition corresponding to the login user can be directly accessed, and the user partition corresponding to the login user can not be downloaded to the local, so that the computing device is not limited by the storage capacity.
Suppose the received address information of the user partition corresponding to the login user ishttp://10.10.88.69/nfs/ 001The local user partition directory provides equipment/data for the service, and the computing equipment adopts an android system, so that the user partition nfs/001 corresponding to the received login user can be mounted to the local user partition directory service provision equipment/data through a mount command, and therefore, when the directory service provision equipment/data is opened locally, a data file under the nfs/001 can be directly accessed.
Step 202, writing the user data generated by the login user into the mounted user partition.
The embodiment of the application realizes the function that the user partition is used for specially storing the user data generated by the user by writing the user data generated by the login user into the mounted user partition instead of writing the user data into other catalogs of the computing equipment; therefore, no matter which computing device the login user is connected with through the client, the connected computing device is mounted and the user partition corresponding to the login user is adopted to store the user data adopted by the login user, so that the user partition can store all historical data generated by the user, and the user partition can meet the access requirements of the user on all historical data.
It should be noted that, besides write access, the mounted user partition may also support other access modes such as read access and delete access, for example, user data may be read from the mounted user partition and returned to the user side according to a query request of the client, and the embodiment of the present application does not limit specific access of the mounted user partition.
In summary, compared with the existing scheme that historical operations of a user are obtained by accessing a scheduling server and other computing devices, the embodiment of the application can perform simple mounting and writing operations, so that computing resources of server terminals such as the computing devices, the scheduling server and other computing devices can be saved, and the access efficiency of user data can be improved;
moreover, compared with the existing scheme that user data is stored in computing equipment connected to the client each time, and historical data of the user is downloaded through other computing equipment, the user data generated by the login user in the embodiment of the application can not be written into the storage space of the current computing equipment, so that the embodiment of the application can also save the storage space of the computing equipment.
Example two
Referring to fig. 3, a flowchart illustrating steps of a second embodiment of the data processing method applied to a computing device in the present application is shown, which may specifically include the following steps:
step 301, after connecting a client, mounting a user partition corresponding to a login user of the client to the local;
step 302, detecting whether a data file of an installed application exists in the mounted user partition;
step 303, when the data file of the installed application does not exist in the mounted user partition, writing the data file of the installed application into the mounted user partition;
and step 304, writing the user data generated by the login user into the mounted user partition.
With respect to the first embodiment, the computing device of the present embodiment may install applications (e.g., game-like applications, video-like applications, etc.), and transmit information of the installed applications to the client, so that the client can select a desired application from the installed applications.
For example, in an application example of the present application, the service providing device 102 may push a TS stream for showing a UI interface a of an installed application to the client 101, and the client 101 may display the UI interface a, and when a user issues an installation instruction for a certain application in the UI interfaces a displayed by the client 101 through an input device such as a remote controller, the client 101 sends control data corresponding to the installation instruction to the service providing device 102, and the service providing device 102 acquires and returns an installation process of the application and the TS stream of the corresponding UI interface B that is installed, so that it appears that the process of installing the application in the client 101 is substantially completed in the service providing device 102, and the client 101 only displays a UI interface in a streaming manner pushed by the service providing device 102.
Since each user has the possibility of using each installed application and generating corresponding user data in the using process, each installed application can be reused in each user partition, so as to meet the requirement of storing the user data generated by the user in the using process of each application program by using the user partition.
In order to implement multiplexing of each installed application to each user partition, in this embodiment, after each user partition is mounted, whether a data file of the installed application exists in the mounted user partition is detected, and when the data file of the installed application does not exist in the mounted user partition, the data file of the installed application is written into the mounted user partition; the operation of detecting the mounted user partition and writing the data file of the installed application into the mounted user partition can realize the consistency between the data file of the application in the user partition and the application in the computing equipment, ensure that the data file of all the installed applications in the computing equipment exists in the mounted user partition, and the data file of a certain installed application can be used for storing user data generated in the process of using the installed application by a user, so that the requirement of storing the user data generated in the process of using each application program by adopting the user partition can be met.
In an actual application, after each installed application is installed, the data file of the installed application may be placed in a first temporary storage area, so that, when the data file of the installed application does not exist in the mounted user partition, the data file of the installed application may be read from the first temporary storage area, and the read content may be written into the mounted user partition. It can be understood that the installed application may be a newly installed application, or an application obtained by upgrading an existing application, and the embodiment of the present application does not limit a specific installed application.
In a specific implementation, a data file matched with information of an installed application may be searched in a mounted user partition, if the data file is searched, the data file of the installed application exists in the mounted user partition, and if the data file is not searched, the data file of the installed application does not exist in the mounted user partition.
Further, the installed application may specifically include: all applications installed or applications installed within a first preset time; when the installed applications represent all the installed applications, data files matched with the information of all the installed applications need to be searched in the mounted user partition, and more time cost is needed; and when the installed application represents an application installed within the first preset time, a data file matching with the information of the installed part of the application needs to be searched in the mounted user partition, so that the time cost is less.
In one embodiment of the present application, the information of the installed application may be determined by:
substep B1, monitoring the behavior of installing the application;
substep B2, when monitoring the behavior of the installed application, taking the installed application as an installed application and recording the information of the installed application; the information of the installed application may specifically include one or more of the following information: folder information of the installed application and data file information of the installed application.
In a preferred embodiment of the present application, in order to avoid that the application maintenance affects the access efficiency of the client, the application maintenance may be performed in a case where the computing device is not connected to the client, such as installing and/or uninstalling and/or upgrading the application, and specifically, the server may trigger the application maintenance on all the computing devices to ensure that different computing devices provide the same service to the client, taking installing the application as an example, the server may send an installation package to the computing device, and the computing device performs installation of the corresponding application according to the installation package, so that sub-step B1 described above may also monitor the behavior of installing the application in a case where the computing device is not connected to the client.
In an actual application, in addition to the folder information of the installed application and the data file information of the installed application, the information of the installed application may further include: installation time information of the installed application, so that the application installed within the first preset time can be determined according to the installation time information of the installed application. For example, the preset time may be the last maintenance period (the maintenance period of the server for the application, such as 1 hour or 24 hours); or, the first preset time may also be a time period from the last time the current user partition is mounted to the current time, and so on, since consistency between the data files of the applications in the user partition and the applications in the computing device is achieved by performing steps 302-303 after each time the user partition is mounted, the installed applications before the last time the current user partition is mounted may be ignored; it is understood that, a person skilled in the art may determine the specific maintenance period or the first preset time according to actual needs, and the specific maintenance period or the first preset time is not limited by the embodiment of the present application.
While two installed applications are described above, it is understood that a person skilled in the art may adopt any one or a combination of the two installed applications according to actual requirements, for example, in a preferred embodiment of the present application, the first preset time may be a time period from a time when the current user partition is last mounted to a current time; then when the time that the current user partition was last mounted does not exist, the installed applications may be all the applications that have been installed (i.e., all the applications that have been installed are used); and when the time that the current user partition is mounted last time exists, the installed application may be an application installed within the first preset time (i.e., an application installed within the first preset time is adopted).
For better understanding of the embodiments of the present application, referring to fig. 4, a flowchart illustrating steps of an example of a data processing method applied to a computing device of the present application is shown, which may specifically include the following steps:
step 401, at time T1, in the case of no connection to the client, the computing device installs the application N according to an installation instruction sent by the server;
step 402, the computing device monitors the behavior of installing the application N, records the information of the application N in a first recording table, and records the data file of the application N in a first temporary storage area;
at this time, the first record table already records information of the applications 1 to N, and the first temporary storage area already records data files of the applications 1 to N; the information of each installed application may specifically include: the folder information of the installed application, the data file information of the installed application and the installation time information of the installed application; n may be used to represent the number of installed applications of the computing device, and the numerical value of N is not limited in the embodiment of the present application;
step 403, at time T2, the computing device connects to the client, mounts the user partition a corresponding to the login user a of the client to the local, and records the time when the user partition a is mounted;
the user A is assumed to be a user who logs in for the first time, so that no data file of any application exists in the user partition A corresponding to the user A, and the last time of mounting the user partition A does not exist;
step 404, the computing device detects whether the mounted user partition a has data files of all installed applications recorded in the first record table;
step 405, if the detection result shows that the data files of the applications 1 to N do not exist in the mounted user partition A, writing the data files of the applications 1 to N read from the first temporary storage area into the mounted user partition A;
step 406, writing the user data generated by the user A into the mounted user partition A;
the user data generated by the user a specifically includes: user data generated by the user A in the process of using the applications 1-N;
step 407, at time T3, in the case that the client is not connected, the computing device installs the application N +1 according to the installation instruction sent by the server;
step 408, the computing device monitors the behavior of installing the application N +1, records the information of the application N +1 in the first record table, and records the data file of the application N +1 in the first temporary storage area;
at this time, the first record table already records information of application 1 to application N +1, and the first temporary storage area already records data files of application 1 to application N + 1;
step 409, at the time of T4, connecting the computing equipment with the client, mounting the user partition A corresponding to the login user A of the client to the local, and recording the time for mounting the user partition A;
at this time, the data files of the applications 1 to N exist in the user partition a corresponding to the user a, the last time the user partition a is mounted exists, and the last time the user partition a is mounted exists in the server or the user partition a, so that even if the client is connected to different computing devices in steps 409 and 402, the current computing device can acquire the last time the user partition a is mounted;
step 410, the computing device detects whether the installed data file of the application installed in the time period from the last time the user partition a is mounted to the current time, which is recorded in the first record table, exists in the mounted user partition a;
step 411, if the detection result is that the data file of the application N +1 does not exist in the mounted user partition a, writing the data file of the application N +1 read from the first temporary storage area into the mounted user partition a;
step 412, writing the user data generated by the user A into the mounted user partition.
It should be noted that, the execution order of step 302 and step 304 is not limited in the embodiment of the present application, for example, step 302 and then step 304 may be executed first after the user partition is mounted, or step 302 and step 304 may be executed simultaneously after the user partition is mounted, or step 304 and then step 302 may also be executed first after the user partition is mounted, and so on.
In summary, in the present embodiment, the operations of detecting the mounted user partition and writing the data file of the installed application into the mounted user partition can ensure that the data files of all installed applications in the computing device exist in the mounted user partition, and the data file of an installed application can be used for storing user data generated by a user in the process of using the installed application, so that a requirement for storing user data generated by the user in the process of using each application program by using the user partition can be satisfied.
EXAMPLE III
Referring to fig. 5, a flowchart illustrating steps of a third embodiment of a data processing method applied to a computing device in the present application is shown, which may specifically include the following steps:
step 501, after a client is connected, mounting a user partition corresponding to a login user of the client to the local;
step 502, detecting whether the mounted user partition has the data file of the unloaded application;
step 503, when the data file of the uninstalled application exists in the mounted user partition, deleting the data file of the uninstalled application in the mounted user partition;
step 504, writing the user data generated by the login user into the mounted user partition.
In order to implement consistency between data files of applications in user partitions and applications in computing equipment, in this embodiment, after mounting a user partition each time, it may be detected whether a data file of an uninstalled application exists in the mounted user partition, and when the data file of the uninstalled application exists in the mounted user partition, the data file of the uninstalled application in the mounted user partition is deleted; the operations of detecting the mounted user partition and deleting the data file of the uninstalled application in the mounted user partition can realize the consistency between the data file of the application in the user partition and the application in the computing equipment, and can ensure that the data file of the uninstalled application in the computing equipment does not exist in the mounted user partition, so that the requirement of storing the user data generated in the process of using each application program by using the user partition can be met on the premise of saving the storage space of the user partition.
In a specific implementation, a data file matched with information of an uninstalled application can be searched in a mounted user partition, if the data file is searched, the data file of the uninstalled application exists in the mounted user partition, and if the data file is not searched, the data file of the uninstalled application does not exist in the mounted user partition.
Further, the uninstalled application may specifically include: all applications that have been uninstalled, or applications that have been uninstalled within a second preset time; when the uninstalled applications represent all uninstalled applications, data files matched with the information of all the uninstalled applications need to be searched in the mounted user partition, and more time cost is needed; and when the uninstalled application represents an application uninstalled within the second preset time, a data file matching with the information of the uninstalled part of application needs to be searched in the user partition after installation, so that the time cost is less.
In one embodiment of the present application, the information of the uninstalled application may be determined by:
substep C1, monitoring the behavior of the uninstalled application;
substep C2, when the behavior of the uninstalled application is monitored, regarding the uninstalled application as an uninstalled application, and recording the information of the uninstalled application; the information of the uninstalled application may specifically include one or more of the following information: the folder information of the uninstalled application and the data file information of the uninstalled application.
In a preferred embodiment of the present application, in order to avoid that the access efficiency of the client is affected by application maintenance, the application may be unloaded when the computing device is not connected to the client, specifically, the server may send a name of the application to be unloaded to the computing device, and the computing device unloads the corresponding application according to the name of the application to be unloaded; therefore, the above sub-step C1 may also monitor the behavior of uninstalling the application in case the computing device is not connected to a client.
In an actual application, in addition to the folder information of the uninstalled application and the data file information of the uninstalled application, the information of the uninstalled application may further include: uninstalling time information of the uninstalled application, such that the application uninstalled within the second preset time can be determined according to the uninstalling time information of the uninstalled application. For example, the second preset time may be the last maintenance period (the maintenance period of the server for the application, such as 1 hour or 24 hours); or, the second preset time may also be a time period from the last time the current user partition is mounted to the current time, and so on, since consistency between the data files of the applications in the user partition and the applications in the computing device is achieved by performing steps 502 to 503 after each time the user partition is mounted, the unloaded applications before the last time the current user partition is mounted may be ignored; it is understood that, a person skilled in the art may determine the specific maintenance period or the second preset time according to actual needs, and the specific maintenance period or the second preset time is not limited by the embodiment of the present application.
While two offloaded applications are described above, it is understood that a person skilled in the art may adopt any one or a combination of the two offloaded applications according to actual requirements, for example, in a preferred embodiment of the present application, the second preset time may be a time period from a time when a current user partition is last mounted to a current time; then when the time that the current user partition was last mounted does not exist, the uninstalled application may be all the applications that have been uninstalled (i.e., all the applications that have been uninstalled are used); and when the time that the current user partition is mounted last time exists, the uninstalled application may be the application that is uninstalled within the second preset time (i.e., the application that is uninstalled within the second preset time is used).
It should be noted that, the execution order of step 502 and step 504 is not limited in the embodiment of the present application, for example, step 502 and then step 504 may be executed first after the user partition is mounted, or step 502 and step 504 may be executed simultaneously after the user partition is mounted, or step 504 and then step 502 may also be executed first after the user partition is mounted, and so on.
In summary, the present embodiment detects whether a data file of an uninstalled application exists in a mounted user partition, and deletes the data file of the uninstalled application in the mounted user partition when the data file of the uninstalled application exists in the mounted user partition; the operations of detecting the mounted user partition and deleting the data file of the uninstalled application in the mounted user partition can realize the consistency between the data file of the application in the user partition and the application in the computing equipment, and can ensure that the data file of the uninstalled application in the computing equipment does not exist in the mounted user partition, so that the requirement of storing the user data generated in the process of using each application program by using the user partition can be met on the premise of saving the storage space of the user partition.
Example four
Compared with the second embodiment, in this embodiment, before the step of searching for the data file matching the information of the installed application or the information of the uninstalled application in the mounted user partition, the method may further include: deleting the information of the installed application matched with the information of the uninstalled application from the information of the installed application to obtain the updated information of the installed application;
the step of searching for a data file matching the information of the installed application or the information of the uninstalled application in the mounted user partition may specifically be to search for a data file matching the updated information of the installed application or the information of the uninstalled application in the mounted user partition.
For better understanding of the embodiments of the present application, referring to fig. 6, a flowchart illustrating steps of an example of a data processing method applied to a computing device of the present application is shown, which may specifically include the following steps:
601, at the time of T1, under the condition that the client is not connected, the computing device installs the application N according to an installation instruction sent by the server;
step 602, the computing device monitors the behavior of installing the application N, records information of the application N in the first record table, and records a data file of the application N in the first temporary storage area;
at this time, the first record table already records information of the applications 1 to N, and the first temporary storage area already records data files of the applications 1 to N; the information of each installed application may specifically include: the folder information of the installed application, the data file information of the installed application and the installation time information of the installed application;
step 603, at the time of T2, in the case of no connection to the client, the computing device uninstalls the application 1 according to the uninstall instruction sent by the server;
step 604, the computing device monitors the behavior of uninstalling the application 1, and records the information of the application 1 in a second record table;
at this time, the second record table records information of the application 1;
step 605, at time T3, the computing device connects to the client, mounts the user partition a corresponding to the login user a of the client to the local, and records the time when the user partition a is mounted;
the user A is assumed to be a user who logs in for the first time, so that no data file of any application exists in the user partition A corresponding to the user A, and the last time of mounting the user partition A does not exist;
step 606, the computing device deletes the information of the installed application (application 1) matched with the second record table from the first record table to obtain an updated first record table;
step 607, the computing device detects whether the mounted user partition a has data files of all installed applications recorded in the first record table;
step 608, if the detection result indicates that the data file of the application 2-application N does not exist in the mounted user partition a, writing the data file of the application 2-application N read from the first temporary storage area into the mounted user partition a;
step 609, detecting whether the unloaded application data file recorded in the second recording table exists in the mounted user partition A or not, wherein the detection result is that the unloaded application data file does not exist;
step 610, writing the user data generated by the user A into the mounted user partition A;
the user data generated by the user a specifically includes: user data generated by the user A in the process of using the applications 2-N;
step 611, at time T4, under the condition that the client is not connected, the computing device unloads the application 2 according to the unloading instruction sent by the server;
step 612, the computing device monitors the behavior of uninstalling the application 2, and records the information of the application 2 in the second record table;
at this time, the information of the application 1-application 2 is already recorded in the second recording table;
step 613, at time T5, the computing device connects to the client, mounts the user partition a corresponding to the login user a of the client to the local, and records the time when the user partition a is mounted;
at this time, the data files of the applications 2 to N exist in the user partition a corresponding to the user a, the last time the user partition a is mounted exists, and the last time the user partition a is mounted exists in the server or the user partition a, so that even if the client is connected to different computing devices in step 613 and step 605, the current computing device can know the last time the user partition a is mounted;
step 614, the computing device detects whether the unloaded data file of the application, which is recorded in the second record table and is unloaded in the time period from the last time the user partition a is mounted to the current time, exists in the mounted user partition a;
step 615, if the detection result is that the data file of the application 2 exists in the mounted user partition A, deleting the data file of the application 2 in the mounted user partition A;
and step 616, writing the user data generated by the user A into the mounted user partition.
It should be noted that, the first record table and the second record table may adopt different or the same record table, and when the same record table is adopted, corresponding identifiers may be added to the installed application and the uninstalled application respectively to distinguish the two applications.
In addition, the above-described T1, T2, and T3 are just examples of the step execution timing, and generally T1< T2< T3.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Referring to fig. 7, a block diagram of a computing device of the present application is shown, which may specifically include the following modules:
the partition mounting module 701 is configured to mount a user partition corresponding to a login user of a client to a local after the client is connected; and
a partition writing module 702, configured to write the user data generated by the login user into the mounted user partition.
In a preferred embodiment of the present application, the apparatus may further include:
the first detection module is used for detecting whether the data file of the installed application exists in the mounted user partition or not;
and the file writing module is used for writing the data file of the installed application into the mounted user partition when the data file of the installed application does not exist in the mounted user partition.
In another preferred embodiment of the present application, the apparatus may further include:
the second detection module is used for detecting whether the data file of the unloaded application exists in the mounted user partition or not;
and the deleting module is used for deleting the data file of the uninstalled application in the mounted user partition when the data file of the uninstalled application exists in the mounted user partition.
In another preferred embodiment of the present application, the first detection module or the second detection module may be specifically configured to search, in the mounted user partition, a data file that matches information of an installed application or information of an uninstalled application, if the data file is found, the installed application or the uninstalled application exists in the mounted user partition, and if the data file is not found, the installed application or the uninstalled application does not exist in the mounted user partition.
In yet another preferred embodiment of the present application, the apparatus may further include: a determining module, configured to determine information of the installed application or the uninstalled application:
the determining module may further include:
the monitoring submodule is used for monitoring the behavior of installing the application or uninstalling the application; and
the recording submodule is used for taking the installed application as an installed application or taking the uninstalled application as an uninstalled application and recording the information of the installed application or the uninstalled application when the behavior of the installed application or the uninstalled application is monitored; wherein the information of the installed application or the uninstalled application includes one or more of the following information: the folder information of the installed application or the uninstalled application and the data file information of the installed application or the uninstalled application.
In a preferred embodiment of the present application, the apparatus may further include:
the updating module is used for deleting the information of the installed application matched with the information of the uninstalled application in the information of the installed application before the detection module searches the data file matched with the information of the installed application or the information of the uninstalled application in the mounted user partition to obtain the updated information of the installed application;
the detection module may be specifically configured to search, in the mounted user partition, a data file that matches the updated information of the installed application or the information of the uninstalled application.
In another preferred embodiment of the present application, the installed application includes: all applications installed or applications installed within a first preset time; the offloaded application includes: all applications that have been uninstalled, or applications that have been uninstalled within a second preset time.
In a further preferred embodiment of the present application, the first preset time and the second preset time are time periods from a time when a current user partition is mounted last time to a current time;
when the time that the current user partition is mounted last time does not exist, the installed applications may be all installed applications, and the uninstalled applications may be all uninstalled applications; when the time that the current user partition is mounted last time exists, the installed application may be an application installed within the first preset time, and the installed application may be an application uninstalled within the second preset time.
In another preferred embodiment of the present application, the partition mounting module 701 may specifically include:
the receiving submodule is used for receiving the address information of the user partition corresponding to the login user and sent by the server; and
and the mounting submodule is used for mounting the user partition corresponding to the login user of the client to the local according to the address information of the user partition corresponding to the login user.
In a preferred embodiment of the present application, the receiving sub-module may further include:
the first receiving unit is used for receiving address information of a user partition corresponding to a login user pushed by a server; or
And the second receiving unit is used for sending a mounting request to a server, wherein the mounting request carries the information of the login user, and receiving the address information of the user partition corresponding to the login user, which is returned by the server according to the mounting request.
For the embodiment of the computing device, since it is basically similar to the embodiment of the method, the description is simple, and for relevant points, reference may be made to part of the description of the embodiment of the method.
The computing device shown in fig. 7 may be located in a smart television system. Referring to fig. 8, a block diagram of a smart tv system according to an embodiment of the present application is shown, which may specifically include: a client 801, a service providing apparatus 802, a user partition 803, and a scheduling server 804;
the client 801 is configured to send a login request to the scheduling server 804;
the scheduling server 804 may specifically include:
the login module 841 is used for completing login of a user of a client according to a login request sent by the client;
an allocating module 842, configured to allocate a service providing device meeting preset conditions to interface with the client;
a determining module 843, configured to determine, according to the information of the login user, address information of the user partition corresponding to the login user; and
a sending module 844 is configured to send, to the service providing device, address information of the user partition corresponding to the login user.
In a preferred embodiment of the present application, the smart tv system may further include: the management server 805 may be configured to manage all the service providing devices 802, and the management specifically may include: state reporting, heartbeat management, attribute setting, attribute obtaining, network awakening, soft restarting, hard restarting and the like. For example, the management server 805 may perform application maintenance, such as installing and/or uninstalling and/or upgrading an application, and the like, when the service providing device 802 is not connected to the client 801, specifically, the management server 805 may trigger the application maintenance on all the service providing devices 802 to ensure that different service providing devices provide the same service to the client 801, taking installing an application as an example, the management server 805 may send an installation package to the service providing device 802, and the service providing device 802 performs installation of a corresponding application according to the installation package.
In another preferred embodiment of the present application, the client 801 may further include:
a communication module, configured to receive a transport stream pushed by the connected service providing device 802 and generated according to a user interface cache code; receiving multimedia playing information fed back by the service providing device 802 according to the multimedia playing request of the client; and sending a delivery stop instruction to the service providing device to suspend the pushing of the delivery stream by the service providing device.
A decoding and displaying module, configured to parse the transport stream into a corresponding user interface for display; calling a player to play corresponding multimedia data according to the multimedia playing information;
accordingly, the service providing apparatus 802 may further include:
a transport stream pushing module, configured to generate a transport stream by caching and encoding a user interface of an application, and push the transport stream to a client to display a corresponding user interface on the client 802; and receiving a transmission stop instruction sent by the client 802, and suspending pushing a transmission stream for the client 802.
A multimedia feedback module, configured to obtain corresponding multimedia playing information according to the multimedia playing request of the client 802, and feed back the multimedia playing information to the client 802.
For the embodiment of the smart television system, since it is basically similar to the embodiment of the method, the description is simple, and for relevant points, reference may be made to part of the description of the embodiment of the method.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
In a typical configuration, the computer device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium. Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (fransitory media), such as modulated data signals and carrier waves.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The data processing method applied to the computing device, the computing device and the smart television system provided by the application are introduced in detail, specific examples are applied in the description to explain the principle and the implementation of the application, and the description of the above embodiments is only used to help understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (26)

1. A data processing method applied to a computing device, comprising:
after a client is connected, mounting a user partition corresponding to a login user of the client to the local;
writing the user data generated by the login user into the mounted user partition;
the method further comprises the following steps:
generating a transmission stream by caching and coding a user interface of an application, and pushing the transmission stream to the client so that the client analyzes the transmission stream into a corresponding user interface to display; the user interface includes: the installation process of the application and the corresponding interface after the installation;
after receiving a transmission stop instruction sent by the client, suspending the transmission stream pushing for the client; corresponding multimedia playing information is obtained according to the multimedia playing request of the client, and the multimedia playing information is fed back to the client; the multimedia data corresponding to the multimedia playing information is provided by a network server different from the computing equipment.
2. The method of claim 1, further comprising:
detecting whether a data file of an installed application exists in the mounted user partition;
and when the data file of the installed application does not exist in the mounted user partition, writing the data file of the installed application into the mounted user partition.
3. The method of claim 1, further comprising:
detecting whether the data file of the unloaded application exists in the mounted user partition or not;
and when the data file of the uninstalled application exists in the mounted user partition, deleting the data file of the uninstalled application in the mounted user partition.
4. The method according to claim 2 or 3, wherein the step of detecting whether the data file of the installed application or the uninstalled application exists in the mounted user partition comprises:
searching a data file matched with the information of the installed application or the information of the uninstalled application in the mounted user partition, if the data file is searched, the data file of the installed application or the uninstalled application exists in the mounted user partition, and if the data file is not searched, the data file of the installed application or the uninstalled application does not exist in the mounted user partition.
5. The method of claim 4, wherein the information of the installed or uninstalled application is determined by:
monitoring the behavior of installing or uninstalling an application;
when the behavior of installing an application or uninstalling the application is monitored, taking the installed application as an installed application or the uninstalled application as an uninstalled application, and recording the information of the installed application or the uninstalled application; wherein the information of the installed application or the uninstalled application includes one or more of the following information: the folder information of the installed application or the uninstalled application and the data file information of the installed application or the uninstalled application.
6. The method of claim 4, wherein prior to the step of finding a data file in the mounted user partition that matches information of the installed application or information of the uninstalled application, the method further comprises: deleting the information of the installed application matched with the information of the uninstalled application from the information of the installed application to obtain the updated information of the installed application;
the step of searching for a data file matching the information of the installed application or the information of the uninstalled application in the mounted user partition includes: and searching a data file matched with the updated information of the installed application or the uninstalled application in the mounted user partition.
7. The method of claim 2, wherein the installed application comprises: all applications that have been installed, or applications that have been installed within a first preset time.
8. The method of claim 3, wherein the offloaded application comprises: all applications that have been uninstalled, or applications that have been uninstalled within a second preset time.
9. The method of claim 7, wherein the first preset time is a time period from a last time a current user partition was mounted to a current time;
if the time that the current user partition is mounted last time does not exist, the installed applications are all installed applications; when the time that the current user partition is mounted last time exists, the installed application is the application installed within the first preset time.
10. The method of claim 8, wherein the second preset time is a time period from a last time a current user partition was mounted to a current time;
when the time that the current user partition is mounted last time does not exist, the uninstalled applications are all uninstalled applications; when the time that the current user partition is mounted last time exists, the uninstalled application is the application uninstalled within the second preset time.
11. The method according to claim 1, wherein the step of locally mounting the user partition corresponding to the login user of the client comprises:
receiving address information of a user partition corresponding to a login user and sent by a server;
and mounting the user partition corresponding to the login user of the client to the local according to the address information of the user partition corresponding to the login user.
12. The method according to claim 11, wherein the step of receiving address information of the user partition corresponding to the login user sent by the server comprises:
receiving address information of a user partition corresponding to a login user and pushed by a server; or
Sending a mounting request to a server, wherein the mounting request carries the information of the login user, and receiving the address information of the user partition corresponding to the login user, which is returned by the server according to the mounting request.
13. A computing device, comprising:
the partition mounting module is used for mounting a user partition corresponding to a login user of a client to the local after the client is connected; and
the partition writing module is used for writing the user data generated by the login user into the mounted user partition;
the apparatus further comprises:
the transmission stream pushing module is used for caching and coding a user interface of an application to generate a transmission stream, and pushing the transmission stream to the client so that the client can analyze the transmission stream into a corresponding user interface to display; after receiving a transmission stop instruction sent by the client, suspending the transmission stream pushing for the client; and the number of the first and second groups,
the multimedia feedback module is used for acquiring corresponding multimedia playing information according to the multimedia playing request of the client and feeding back the multimedia playing information to the client; multimedia data corresponding to the multimedia playing information is provided by a network server different from the computing equipment; the user interface includes: the installation process of the application and the corresponding interface after the installation.
14. The apparatus of claim 13, further comprising:
the first detection module is used for detecting whether the data file of the installed application exists in the mounted user partition or not;
and the file writing module is used for writing the data file of the installed application into the mounted user partition when the data file of the installed application does not exist in the mounted user partition.
15. The apparatus of claim 13, further comprising:
the second detection module is used for detecting whether the data file of the unloaded application exists in the mounted user partition or not;
and the deleting module is used for deleting the data file of the uninstalled application in the mounted user partition when the data file of the uninstalled application exists in the mounted user partition.
16. The device according to claim 14 or 15, wherein the first detection module or the second detection module is specifically configured to search for a data file that matches information of an installed application or information of an uninstalled application in the mounted user partition, if the data file is found, the installed application or the uninstalled application exists in the mounted user partition, and if the data file is not found, the installed application or the uninstalled application does not exist in the mounted user partition.
17. The apparatus of claim 16, further comprising: a determining module, configured to determine information of the installed application or the uninstalled application:
the determining module includes:
the monitoring submodule is used for monitoring the behavior of installing the application or uninstalling the application; and
the recording submodule is used for taking the installed application as an installed application or taking the uninstalled application as an uninstalled application and recording the information of the installed application or the uninstalled application when the behavior of the installed application or the uninstalled application is monitored; wherein the information of the installed application or the uninstalled application includes one or more of the following information: the folder information of the installed application or the uninstalled application and the data file information of the installed application or the uninstalled application.
18. The apparatus of claim 17, further comprising:
the updating module is used for deleting the information of the installed application matched with the information of the uninstalled application in the information of the installed application before the detection module searches the data file matched with the information of the installed application or the information of the uninstalled application in the mounted user partition to obtain the updated information of the installed application;
the detection module is specifically configured to search, in the mounted user partition, a data file that matches the updated information of the installed application or the information of the uninstalled application.
19. The apparatus of claim 14, wherein the installed application comprises: all applications that have been installed, or applications that have been installed within a first preset time.
20. The apparatus of claim 15, wherein the offloaded application comprises: all applications that have been uninstalled, or applications that have been uninstalled within a second preset time.
21. The apparatus of claim 19, wherein the first preset time is a time period from a last time a current user partition was mounted to a current time;
if the time that the current user partition is mounted last time does not exist, the installed applications are all installed applications; when the time that the current user partition is mounted last time exists, the installed application is the application installed within the first preset time.
22. The apparatus of claim 20, wherein the second preset time is a time period from a last time a current user partition was mounted to a current time;
when the time that the current user partition is mounted last time does not exist, the uninstalled applications are all uninstalled applications; when the time that the current user partition is mounted last time exists, the uninstalled application is the application uninstalled within the second preset time.
23. The apparatus of claim 13, wherein the partition mount module comprises:
the receiving submodule is used for receiving the address information of the user partition corresponding to the login user and sent by the server; and
and the mounting submodule is used for mounting the user partition corresponding to the login user of the client to the local according to the address information of the user partition corresponding to the login user.
24. The apparatus of claim 23, wherein the receiving submodule comprises:
the first receiving unit is used for receiving address information of a user partition corresponding to a login user pushed by a server; or
And the second receiving unit is used for sending a mounting request to a server, wherein the mounting request carries the information of the login user, and receiving the address information of the user partition corresponding to the login user, which is returned by the server according to the mounting request.
25. An intelligent television system, comprising: the computing device of any of claims 13-24.
26. The system of claim 25, wherein the computing device is a service providing device;
the smart television system further comprises: at least one server, at least one client and at least one user data information storage device; wherein the server is used for distributing service providing equipment to the client; the client is arranged in the smart television, and the service providing equipment is arranged on the network side and is used for providing internet service for the client establishing connection through the network; the at least one user data information storage device comprises: at least one user partition; the at least one user partition is used for storing user data corresponding to different clients respectively.
CN201510319774.5A 2015-06-11 2015-06-11 Data processing method and device applied to computing device Active CN106302617B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510319774.5A CN106302617B (en) 2015-06-11 2015-06-11 Data processing method and device applied to computing device
PCT/CN2016/084604 WO2016197867A1 (en) 2015-06-11 2016-06-03 Data processing method and device applicable to computing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510319774.5A CN106302617B (en) 2015-06-11 2015-06-11 Data processing method and device applied to computing device

Publications (2)

Publication Number Publication Date
CN106302617A CN106302617A (en) 2017-01-04
CN106302617B true CN106302617B (en) 2020-09-01

Family

ID=57503140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510319774.5A Active CN106302617B (en) 2015-06-11 2015-06-11 Data processing method and device applied to computing device

Country Status (2)

Country Link
CN (1) CN106302617B (en)
WO (1) WO2016197867A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360202A (en) * 2020-07-22 2021-09-07 广东华晟数据固态储存有限公司 Wireless unloading method of file recording equipment
CN112115492A (en) * 2020-08-21 2020-12-22 麒麟软件有限公司 User data encryption and isolation method and system based on Linux operating system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158468A (en) * 2011-01-26 2011-08-17 清华大学 Method for sharing and acquiring data in social network service (SNS)
CN102457567A (en) * 2010-11-08 2012-05-16 中标软件有限公司 Mirror image backup/recovery method and tool of web management mode
CN103441925A (en) * 2013-08-19 2013-12-11 上海斐讯数据通信技术有限公司 Home gateway device and method for mounting storage device on home gateway device
CN103731508A (en) * 2014-01-23 2014-04-16 易桂先 Cloud-storage-based network hard disk device and management method thereof
CN103970590A (en) * 2014-05-15 2014-08-06 南京云思维软件科技有限公司 Dynamic virtual machine delivery method and system based on virtualization platform

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2553613A4 (en) * 2010-03-26 2017-01-25 Nokia Technologies Oy Method and apparatus for portable index on a removable storage medium
CN102664923A (en) * 2012-03-30 2012-09-12 浪潮电子信息产业股份有限公司 Method for realizing shared storage pool by utilizing Linux global file system
CN203167000U (en) * 2013-03-29 2013-08-28 广州中国科学院软件应用技术研究所 NAS (Network Attached Storage) cloud storage system based on Android system set top boxes
CN103561101A (en) * 2013-11-06 2014-02-05 中国联合网络通信集团有限公司 Network file system
CN104202417A (en) * 2014-09-16 2014-12-10 腾讯科技(深圳)有限公司 Cloud computing based information processing method, client, cloud server and cloud computing based information processing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457567A (en) * 2010-11-08 2012-05-16 中标软件有限公司 Mirror image backup/recovery method and tool of web management mode
CN102158468A (en) * 2011-01-26 2011-08-17 清华大学 Method for sharing and acquiring data in social network service (SNS)
CN103441925A (en) * 2013-08-19 2013-12-11 上海斐讯数据通信技术有限公司 Home gateway device and method for mounting storage device on home gateway device
CN103731508A (en) * 2014-01-23 2014-04-16 易桂先 Cloud-storage-based network hard disk device and management method thereof
CN103970590A (en) * 2014-05-15 2014-08-06 南京云思维软件科技有限公司 Dynamic virtual machine delivery method and system based on virtualization platform

Also Published As

Publication number Publication date
WO2016197867A1 (en) 2016-12-15
CN106302617A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106301865B (en) Data processing method and device applied to service providing device
US10038962B2 (en) System and method for testing and certification of media devices for use within a connected media environment
US20140165119A1 (en) Offline download method, multimedia file download method and system thereof
US20110038613A1 (en) Remote storage of digital media broadcasts for time-shifted playback on personal digital media devices
US20080059567A1 (en) System and method for configuring a client electronic device
CN101616181A (en) A kind of method, system and equipment of uploading with the downloaded subtitle file
WO2015081796A1 (en) Method and device for synchronizing play record between mobile terminal and smart television
CN110781149A (en) Method, device, equipment and storage medium for managing live broadcast room information
US9294803B2 (en) Kiosk set-top-box
CN112243158B (en) Media file processing method and device, computer readable medium and electronic equipment
CN106302617B (en) Data processing method and device applied to computing device
CN112565877B (en) Screen projection method and system, electronic equipment and storage medium
CN112565829B (en) Network scheduling method, device and system and readable storage medium
CN110798358B (en) Distributed service identification method and device, computer readable medium and electronic equipment
CN111726650B (en) Video live broadcast method and device and computer storage medium
CN112887786B (en) Video playing method and device and computer readable medium
CN113301374A (en) Live broadcast audio and video processing method and device, client and server
US9229944B2 (en) Scalable networked digital video recordings via shard-based architecture
CA3129680A1 (en) Adaptive retrieval of objects from remote storage
US20140373080A1 (en) Remote Storage Digital Video Recording Optimization Method and System
US11323499B2 (en) Bandwidth efficient streaming and synching multimedia content at a desired quality of experience
CN103702239A (en) Network multimedia resource data processing method and device
KR101556529B1 (en) Management system for storing, searching, playing integrated multimedia data
KR101810233B1 (en) User terminal and operation method thereof
CN104902320A (en) Playing method and playing device for media file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant