CN111143742A - Processing method and processing apparatus - Google Patents

Processing method and processing apparatus Download PDF

Info

Publication number
CN111143742A
CN111143742A CN201911361392.3A CN201911361392A CN111143742A CN 111143742 A CN111143742 A CN 111143742A CN 201911361392 A CN201911361392 A CN 201911361392A CN 111143742 A CN111143742 A CN 111143742A
Authority
CN
China
Prior art keywords
resource
information
request information
cache
functional component
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.)
Pending
Application number
CN201911361392.3A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201911361392.3A priority Critical patent/CN111143742A/en
Publication of CN111143742A publication Critical patent/CN111143742A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure provides a processing method, comprising: the acquired first request information is transmitted to a first functional component of the electronic equipment, wherein the first functional component at least acquires the resource information in a hardware mode so as to acquire the resource information requested by the first request information through the first functional component; and under the condition of obtaining the resource information requested by the first request information, processing the resource information into a video stream to be dynamically loaded to at least part of a display interface of the electronic equipment. In addition, the present disclosure also provides a processing apparatus.

Description

Processing method and processing apparatus
Technical Field
The present disclosure relates to a processing method and a processing apparatus.
Background
With the continuous deduction of software development, the Html webpage is used as a carrier for showing a user interface related to the software to a user, so that good expandability can be obtained, the development complexity is reduced, and the trend of software development is gradually reached.
The interface content displayed in the Html webpage has certain display logic and content sources. The interface content may be a resource that needs to be retrieved from a shared repository, i.e., a remote resource. The interface content may also be a resource that needs to be retrieved from the user's computer, i.e., a local resource object. Remote resource and local resource objects belong to different "domains" because they are stored in different locations. Cross-domain access is not allowed for security reasons.
Disclosure of Invention
One aspect of the present disclosure provides a processing method, including: the acquired first request information is transmitted to a first functional component of the electronic device, so that the resource information requested by the first request information is acquired through the first functional component, and under the condition that the resource information requested by the first request information is acquired, the resource information is processed into a video stream and dynamically loaded to at least part of a display interface of the electronic device, wherein the first functional component at least acquires the resource information in a hardware mode.
Optionally, the transmitting the obtained first request information to the first functional component of the electronic device includes: the method comprises the steps of detecting at least one operation which meets a condition and acts on a first application window of the electronic equipment, generating a first command, transmitting first request information which is interpreted by a preset command interpreter of the first command to the first functional component, or detecting at least one operation which meets the condition and acts on a current display page of the electronic equipment, generating a second command, and transmitting the first request information which is interpreted by the preset command interpreter of the second command to the first functional component.
Optionally, the obtaining the resource information requested by the first request information includes: reading, by the first functional component, a cache resource in a preset storage area, taking the cache resource meeting a condition as resource information requested by the first request information when the cache resource meets the condition and the matching degree with the first request information meets a first threshold, reading a local resource as resource information requested by the first request information when the cache resource does not meet the condition or the matching degree with the first request information meets a second threshold, and taking the cache resource meeting the condition and the read local resource as resource information requested by the first request information when the cache resource meets the condition and the matching degree with the first request information meets a third threshold.
Optionally, the method further includes: and deleting the cache resources which do not meet the conditions in the preset storage area, and/or updating the cache resources in the preset storage area based on the loaded local resources.
Optionally, the obtaining the resource information requested by the first request information includes: reading, by the first functional component, a local resource corresponding to the first request information as the resource information, or loading, based on the first request information, the corresponding local resource to a preset storage area for reading by the first functional component.
Optionally, the loaded or read local resource is edited based on at least the attribute information of the first request information.
Optionally, configuring a validity period corresponding to the loaded or read local resource based on the attribute information of the local resource and/or the attribute information of the first request information.
Optionally, the processing the resource information into a video stream includes: and obtaining a data structure of a video stream which can be displayed on a current display interface of the electronic equipment, and encoding a local resource or cache resource corresponding to the resource information and attribute information of the first request information according to the data structure to obtain the video stream for loading.
Optionally, the processing the resource information into a video stream dynamically loaded to at least a part of a display interface of the electronic device includes: and forwarding the video stream to a decoding unit for decoding through the first functional component, so as to dynamically load the decoded original resource to the at least part of the display interface generating the first request information.
Another aspect of the present disclosure provides a processing apparatus comprising: the processing module is configured to process the resource information into a video stream to be dynamically loaded to at least part of a display interface of the electronic device under the condition that the resource information is obtained, wherein the first functional component at least obtains the resource information in a hardware mode.
Optionally, the transfer module is configured to: the method comprises the steps of detecting at least one operation which meets a condition and acts on a first application window of the electronic equipment, generating a first command, transmitting first request information which is interpreted by a preset command interpreter of the first command to the first functional component, or detecting at least one operation which meets the condition and acts on a current display page of the electronic equipment, generating a second command, and transmitting the first request information which is interpreted by the preset command interpreter of the second command to the first functional component.
Optionally, the passed module is configured to: reading, by the first functional component, a cache resource in a preset storage area, taking the cache resource meeting a condition as resource information requested by the first request information when the cache resource meets the condition and the matching degree with the first request information meets a first threshold, reading a local resource as resource information requested by the first request information when the cache resource does not meet the condition or the matching degree with the first request information meets a second threshold, and taking the cache resource meeting the condition and the read local resource as resource information requested by the first request information when the cache resource meets the condition and the matching degree with the first request information meets a third threshold.
Optionally, the transfer module is further configured to: and deleting the cache resources which do not meet the conditions in the preset storage area, and/or updating the cache resources in the preset storage area based on the loaded local resources.
Optionally, the transfer module is configured to: reading, by the first functional component, a local resource corresponding to the first request information as the resource information, or loading, based on the first request information, the corresponding local resource to a preset storage area for reading by the first functional component.
Optionally, the processing module is configured to: and editing the loaded or read local resources at least based on the attribute information of the first request information.
Optionally, the processing module is configured to: and configuring a validity period corresponding to the loaded or read local resource based on the attribute information of the local resource and/or the attribute information of the first request information.
Optionally, the processing module is configured to: and obtaining a data structure of a video stream which can be displayed on a current display interface of the electronic equipment, and encoding a local resource or cache resource corresponding to the resource information and attribute information of the first request information according to the data structure to obtain the video stream for loading.
Optionally, the processing module is configured to: and forwarding the video stream to a decoding unit for decoding through the first functional component, so as to dynamically load the decoded original resource to the at least part of the display interface generating the first request information.
Another aspect of the present disclosure provides an electronic device, including a memory, a processor, and a processing program stored in the memory and executable on the processor, the processing program implementing the steps of the processing method as described above when executed by the processor.
Another aspect of the disclosure provides a computer-readable storage medium storing computer-executable instructions for implementing any of the processing methods described above when executed by a processor.
According to the embodiment of the disclosure, the first request information is transmitted to the first functional component, so that the first functional component obtains the local resource information in a hardware mode, server configuration does not need to be modified, and the local resource information is prevented from being obtained in a software mode. The local resource information is further processed into a video stream, and the video stream is dynamically loaded through the display interface, so that the local access of the resource information can be realized, and the technical problem that cross-domain access cannot be realized in related technologies can be at least partially solved.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
FIG. 1 schematically illustrates an application scenario of a processing method and apparatus according to an embodiment of the present disclosure;
FIG. 2 schematically shows a flow chart of a processing method according to an embodiment of the present disclosure;
FIG. 3 schematically shows a schematic diagram of requesting data according to an embodiment of the present disclosure;
FIG. 4 schematically shows a schematic diagram of a data structure according to an embodiment of the present disclosure;
FIG. 5 schematically shows a flow chart of a processing method according to another embodiment of the present disclosure;
FIG. 6 schematically shows a block diagram of a processing device according to an embodiment of the disclosure; and
fig. 7 schematically shows a block diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, 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, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks. The techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable storage medium having instructions stored thereon for use by or in connection with an instruction execution system.
With the continuous deduction of software development, the Html webpage is used as a carrier for showing a user interface related to the software to a user, so that good expandability can be obtained, the development complexity is reduced, and the trend of software development is gradually reached. The interface content displayed in the Html webpage has certain display logic and content sources. The interface content may be a resource that needs to be retrieved from a shared repository, i.e., a remote resource. The interface content may also be a resource that needs to be retrieved from the user's computer, i.e., a local resource object. Remote resource and local resource objects belong to different "domains" because they are stored in different locations. Cross-domain access is not allowed in the related art for security reasons.
Accordingly, embodiments of the present disclosure provide a processing method and a processing apparatus to which the method can be applied. The method comprises the following steps: first, the obtained first request information is transmitted to a first functional component of the electronic device, so that the first functional component can obtain the resource information requested by the first request information. Then, under the condition of obtaining the resource information requested by the first request information, processing the resource information into a video stream and dynamically loading the video stream to at least part of a display interface of the electronic equipment, wherein the first functional component at least obtains the resource information in a hardware mode.
Fig. 1 schematically shows a system architecture of a processing method and apparatus according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, a system architecture 100 according to this embodiment may include electronic devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the electronic devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use the electronic devices 101, 102, 103 to interact with the server 105 over the network 104 to receive or send messages or the like. The electronic devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, and the like (by way of example only).
The electronic devices 101, 102, 103 may be a variety of electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server that provides various services, such as a background management server (for example only) that provides support for websites browsed by users using the electronic devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the electronic device.
It should be noted that the processing method provided by the embodiment of the present disclosure may be generally executed by the electronic device 101, 102, or 103. Accordingly, the processing device provided by the embodiments of the present disclosure may be generally disposed in the electronic device 101, 102, or 103. The processing method provided by the embodiment of the present disclosure may also be performed by other electronic devices different from the electronic devices 101, 102, or 103 and capable of communicating with the electronic devices 101, 102, 103 and/or the server 105.
It should be understood that the number of electronic devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of electronic devices, networks, and servers, as desired for implementation.
For ease of understanding, the present disclosure will be described in detail with reference to the embodiment of the present disclosure using the UWP + Win JS (Html) architecture for displaying the user interface, and those skilled in the art can make appropriate extensions according to the spirit of the present disclosure to apply to other architectures and application scenarios that need to display the local resources.
uWP is a short name of Universal Windows Platform in Win10, namely Windows general application Platform. UWP is different from executable programs (EXE files) on a conventional Personal Computer (PC) and mobile phone software (Application). UWP is not designed for a certain terminal, but can run on all Win10 devices.
Win JS is a Windows library of functions that microsoft has proposed for JavaScript. The developer can use WinJS to develop Windows application, Android application, iOS application and even webpage version application. The primary functions include providing a series of CSS styles, JavaScript controls, and utilities to help developers quickly build applications that meet the Windows application store UX benchmark requirements. The utility provided by WinJS contains a series of functions that developers can use to create custom controls in your application.
The UWP + Win JS (Html) architecture is used to display a user interface whose interface Content comes from a Content Management System (CMS for short). The CMS classifies the same type of information by using a uniform information organization method, i.e., classification, and each type of information can be subjected to four different operations, i.e., new (Add), View (View), Edit (Edit), and Delete (Delete). The use of the information is controlled by adopting uniform user and right management, namely, a complete information organization and management system is formed, and the system has the functions of labeling, searching and the like. Is an interface that allows users to publish content directly to the Web, adding content pages directly to the Web one step ahead of the process of local computer creation and upload pages, allowing large numbers of people to add and share data remotely. A simple, accessible website interface is provided that can be used to add content to a page in a highly structured manner. The overall approach to CMS is to allow the generation of content that meets the criteria. Access to the CMS is typically defined for a particular group of users who may view, add, edit, and publish content in the CMS. By allowing privileged users to view the operational status of content that has been processed by other users in the group, duplicative work may be reduced. The CMS allows users to create, edit, and publish content anytime and anywhere. Since content has been added to the CMS server, the operational aspects of the CMS are not installed on the user's personal computer. CMS is divided into an enterprise content manager, a Web group content manager and a component content manager.
The UWP loads the CMS resources at runtime and displays the layout according to the logic. However, depending on business needs, it is sometimes necessary to display local resources on the local user computer. Such as a program icon. Since the CMS resources and local resources reside in different locations, belonging to different "domains," cross-domain access is not allowed by default based on network security considerations.
FIG. 2 schematically shows a flow chart of a processing method according to an embodiment of the disclosure.
As shown in fig. 2, the method may include operations S210 and S220, for example.
In operation S210, the obtained first request information is transferred to a first functional component of the electronic device, so as to obtain resource information requested by the first request information through the first functional component.
According to an embodiment of the present disclosure, the first request is used to indicate to acquire resource information. For example, the first request may be a request for viewing power information of the electronic device, a request for viewing storage information of a storage component of the electronic device, or a request for viewing application information locally installed in the electronic device. The resource information is a file from which all the required resources can be read, and may be referred to as a "resource file". The resource type can be picture, audio, video, text resource, or other content that can be shown in a computer, etc.
The resource information may be various local resources stored in a local disk, or may be various cache resources cached in a local cache, where the cache resources in this embodiment include memory resources stored in a memory.
As previously described, the page forwards the first request to the first functional component in response to a corresponding operation indicating that the first request was sent. The first functional component at least obtains the resource information in a hardware mode, and the first functional component can read the local resource or the cache resource.
Alternatively, the first functional component may be a Driver or a plug-in (plug). The local resource can be read from a local disk of the electronic equipment through the drive, and the cache resource can also be read from the cache. The local resources can be read from a local disk of the electronic equipment through the plug-in, and the cache resources can also be read from the cache.
Next, in operation S220, in the case of obtaining the resource information requested by the first request information, the resource information is processed into a video stream and dynamically loaded to at least a portion of a display interface of the electronic device.
According to the embodiment of the disclosure, the acquired local resources or cache resources can be processed into a video stream to be dynamically loaded to a display interface for display.
In the present disclosure, the display interface may be an application window of any application program in the electronic device. For example, it may be an application window of an application program for managing a battery part of the electronic device.
In the present disclosure, the display interface may also be a currently displayed page on the electronic device, such as a page of a browser.
In the present disclosure, a video stream can be processed through a network as a steady and continuous stream. Because of the streaming, at least a portion of the display interface of the electronic device, e.g., the browser or plug-in, may display the multimedia data before the entire local resource or cached resource is transferred.
In the related art, there are several ways to display a local resource or a cache resource on at least a part of a display interface of an electronic device.
First, modifying the server configuration and page code, explicitly setting allows cross-domain, which reduces security by modifying the default configuration.
Second, cross-domain access is supported in a control fashion using Active X technology. However, the method only supports the IE browser, and does not support the browser of the Edge and Chrome kernel. Therefore, there is a compatibility problem of the browser.
Thirdly, resources belonging to different 'domains' are all put under the same domain, and although the method bypasses the cross-domain problem, all the resources are on the network, a large amount of network traffic is consumed, and the operation cost is increased. And the local resources are dynamically changed, and the local resources in each electronic device have large differences and great uncertainty, so that the complexity of maintaining the local resources is increased. For example, local or cached resources are first uploaded to the CMS to become CMS resources and then downloaded to enable the presentation. When the amount of local resources or cache resources is large and the requirement on network transmission is high, a large amount of time is wasted in uploading and downloading, so that the page starting delay is long, the system cache capacity of the electronic equipment is high, the real-time transmission of the resources cannot be realized, discontinuous phenomena such as blocking and pause are easily caused when the page is displayed, and even the normal operation of other programs in the electronic equipment can be influenced.
Different from the related technology, the resource information is processed into the video stream to be dynamically loaded to at least part of the display interface of the electronic equipment, so that the starting delay is greatly shortened, a user does not need to wait for all the resource information to be downloaded to a hard disk to start browsing, and the requirement on the system cache capacity of the electronic equipment is greatly reduced. Since the Internet performs intermittent asynchronous transmission based on packet transmission, data is broken into many packets for transmission, and the dynamically changing network makes it possible for each packet to select a different route, the time delay to reach the user's computer is also different. Therefore, a cache system is needed at the client to compensate the influence of delay and jitter and ensure the correct transmission sequence of the data packets, so that the media data can be continuously output, and the playing cannot be stopped due to temporary network congestion.
Further, the video stream is streamed, and the streaming is implemented by a specific real-time transmission protocol. For example, Real Time Streaming Protocol (RTSP) is adopted, which is more suitable for Streaming Real-Time transmission of animation and video and audio over the internet.
According to the embodiment of the disclosure, the first request information is transmitted to the first functional component, so that the first functional component obtains the local resource information in a hardware mode, server configuration does not need to be modified, and the local resource information is prevented from being obtained in a software mode. The local resource information is further processed into a video stream, and the video stream is dynamically loaded through the display interface, so that the local access of the resource information can be realized, and the technical problem that cross-domain access cannot be realized in related technologies can be at least partially solved.
As an alternative embodiment, the step of transmitting the obtained first request information to the first functional component of the electronic device in operation S210 may include the following two cases.
In the first case, if the display interface is a first application window of the electronic device, a first command is generated when at least one operation that satisfies a condition and acts on the first application window of the electronic device is detected, and the first command is forwarded to the first functional component via first request information interpreted by a preset command interpreter (e.g., UWP Shell).
In this disclosure, the operation that satisfies the condition may be an operation of refreshing the display content of the first application window, an operation of viewing certain hardware information of the electronic device, an operation of clicking a jump page or a jump link, or an operation of adjusting a page layout, which is not limited in this disclosure.
For example, in the case of a software management program, it is necessary to display all information such as a list or icons of software installed on the consumer electronic device, which is a dynamic unpredictable characteristic because different users install different software. Thus, all software installed can be refreshed in the application window of the software manager.
According to the embodiment of the disclosure, the preset command interpreter may interpret the first command and forward the first command to the first functional component via the first request information interpreted by the preset command interpreter, so as to instruct the first functional component to acquire the local resource corresponding to the first request information.
Secondly, if the display interface is a current display page of the electronic device, generating a second command under the condition that at least one operation which is acted on the current display page of the electronic device and meets the condition is detected, and forwarding the first request information of the second command after the second command is interpreted by a preset command interpreter to the first functional component.
In this disclosure, the operation that satisfies the condition may be an operation of refreshing the display content of the currently displayed page, an operation of viewing certain hardware information of the electronic device, an operation of clicking a jump page or a jump link, or an operation of adjusting a page layout, which is not limited in this disclosure.
For example, it may be an operation of viewing hardware information of the power supply of the electronic device.
Through the embodiment of the disclosure, under the condition that the operation meeting the condition is detected, the first request information is forwarded to the first functional component, so that the influence of misoperation can be reduced.
As an alternative embodiment, obtaining the resource information requested by the first request information includes: and reading the cache resources in the preset storage area through the first functional component.
According to the embodiment of the disclosure, the preset storage region may be a memory region, and the memory region may be a continuous specific memory region in the memory, so as to implement isolation of resource information and ensure information security of cached resource information. The preset storage area may also be a buffer area.
Due to the limited cache region, in the embodiment of the present disclosure, in order to avoid long-term occupation of the cache region by the resource information, the validity period of the resource information stored in the cache region may be managed. For example, the resource information that exceeds the validity period may be deleted, and the resource information that does not exceed the validity period may be retained.
As an alternative embodiment, the resource information may be subjected to validity management according to a certain management policy. For example, a short validity period may be set for the resource information that changes frequently, so that the resource information is stored in the cache region for a short time, thereby ensuring timeliness of the resource information. Aiming at the resource information with small change and high stability, a long validity period can be set, so that the resource information is stored in the cache region for a long time, the frequent writing of the resource information with small change into the cache region is avoided, and the efficiency of acquiring the resource information is improved.
In the embodiment of the present disclosure, the local resource corresponding to the first request information may be preferentially acquired from the cache region, and the local resource corresponding to the first request information is read from the local memory when the local resource corresponding to the first request information cannot be acquired from the cache region.
Optionally, that the matching degree of the cache resource and the first request information meets the first threshold value represents that the cache resource and the resource requested by the first request information are all matched. And under the condition that the cache resources meet the conditions and the matching degree of the cache resources and the first request information meets a first threshold value, taking the cache resources meeting the conditions as the resource information requested by the first request information.
According to the embodiment of the present disclosure, the condition of compliance indicates that the cache resource does not exceed a preset validity period, i.e., is not expired. The compliance with the first threshold value is used for characterizing the cache resource matching with the resource information of the first request information request. Correspondingly, if the cache resource in the cache region is not expired and the cache resource is matched with the first request information, the cache resource is taken as the resource information corresponding to the first request information.
For example, the home page of the game client is mostly a campaign page, and the page needs character materials, animation, and particle effects used in the game. And these materials have already been installed in electronic devices. If the first request information is used for acquiring the figure materials, the cache resources in the cache region are not expired, and the figure materials are figure materials corresponding to the first request information, the cached figure materials can be used as the resource information corresponding to the first request information.
Optionally, that the matching degree of the cache resource and the first request information meets the second threshold value represents that the cache resource and the resource requested by the first request information are not matched completely. And reading the local resource as the resource information requested by the first request information under the condition that the cache resource does not meet the condition or the matching degree of the cache resource and the first request information meets a second threshold value.
According to an embodiment of the present disclosure, the non-compliance indicates that the cache resource has exceeded a preset validity period, i.e., has expired. The compliance with the second threshold value is used for representing that the cache resource does not match the resource information requested by the first request information. Correspondingly, if the cache resource is expired, the local resource is read as the resource information corresponding to the first request information. And if the cache resource does not match the first request message, reading the local resource as the resource message corresponding to the first request message.
For example, the home page of the game client is mostly a campaign page, and the page needs character materials, animation, and particle effects used in the game. And these materials have already been installed in electronic devices. If the first request information is used for acquiring the animation and the animation in the cache region is expired, the animation resource required to be used by the page can be read from the local memory as the resource information corresponding to the first request information. If the first request information agrees to obtain the particle effect and the character material in the cache region is not the particle effect, the particle effect required to be used by the page can be read from the local memory as the resource information corresponding to the first request information.
Optionally, when the cache resource meets the condition and the matching degree with the first request information meets the third threshold, the local resource is read, and the cache resource meeting the condition and the read local resource are used as the resource information requested by the first request information.
According to the embodiment of the disclosure, the matching degree of the cache resource and the first request information accords with the third threshold value to represent that the cache resource is partially matched with the resource requested by the first request information. If the cache resource is not expired, acquiring a part of matching information matched with the resource information requested by the first request information from the cache region, and reading information matched with the other part of the resource information requested by the first request information from the local resource. For example, if the third threshold is 50%, the cache resource is 50% matched with the resource requested by the first request message, and then 50% of the matched cache resource is obtained from the cache, and another 50% of the local resource is read locally.
For example, the home page of the game client is mostly a campaign page, and the page needs character materials, animation, and particle effects used in the game. And these materials have already been installed in electronic devices. If the first request information is used to obtain the materials of 5 people and the materials of 3 people in the cache region are expired, the unexpired materials of 2 people can be read from the cache region, and then the materials of the other remaining 3 people can be read from the local memory as the resource information corresponding to the first request information.
As an alternative embodiment, the method may further include: deleting the cache resources which do not meet the conditions in the preset storage area; and/or updating the cache resources in the preset storage area based on the loaded local resources.
Optionally, whether the cache resource exceeds the preset validity period is detected based on the validity period of the cache resource, and in the case that the cache resource exceeds the validity period, the cache resource which is stored in the preset storage area and exceeds the validity period may be deleted from the preset storage area.
Optionally, whether the cache resource exceeds a preset validity period is detected based on the validity period of the cache resource, and when a part of the cache resource exceeds the validity period, the part of the cache resource may be deleted from the preset storage area, and the deleted part of the cache resource is updated based on the loaded local resource.
Optionally, whether the cache resource exceeds the preset validity period is detected based on the validity period of the cache resource, and the cache resource may also be updated based on the loaded local resource when the cache resource does not exceed the validity period and the cache resource is updated.
By the embodiment of the disclosure, the cache resources are deleted and updated, the storage pressure of the cache region can be relieved, and the timeliness of the cache resources is improved.
As an alternative embodiment, obtaining the resource information requested by the first request information includes: reading local resources corresponding to the first request information as resource information through the first functional component; or loading the corresponding local resource to a preset storage area based on the first request information so as to be read by the first functional component.
According to an embodiment of the present disclosure, the resource information corresponding to the first request information may be acquired in the following two ways. In the first mode, the first functional component is directly acquired from the local resource. And in the second mode, the local resources are loaded to the preset storage area and then read by the first functional component.
Through the embodiment of the disclosure, the resource information requested by the first request information can be acquired in multiple modes, so that the acquisition modes of the resource information are flexible and various, and the efficiency and the flexibility of acquiring the resource information are improved.
As an alternative embodiment, the method may further include: and editing the loaded or read local resource at least based on the attribute information of the first request information.
According to the embodiment of the disclosure, under the condition that the local resource is obtained, the local resource can be edited, the processed resource is converted into the video stream, the quality of the video stream can be improved, meanwhile, the transmission efficiency is improved, and the consumption of a communication link is reduced.
FIG. 3 schematically shows a schematic diagram of requesting data according to an embodiment of the disclosure.
As shown in fig. 3, the attribute information of the request (Req) may include, but is not limited to, Type (Type), transparent (Alpha), compressed (Compress), number (TID). Type is used to indicate the Type of the first request including, but not limited to, text Type, picture Type, audio Type, video Type. Alpha is used to indicate whether there is a transparent channel, including a transparent channel, and no transparent channel. Compression is used to indicate whether to participate in the merge, including participating in the merge, i.e., compression, and not participating in the merge, i.e., not compression. The purpose of merging is to pack the same type of resources, taking pictures as an example, merging several pictures into one picture, which can reduce the memory occupation, and meanwhile, because all data are obtained at one time, the number of data transmission times is reduced, thereby improving the page display speed.
As an alternative embodiment, the method may further include: and configuring a corresponding validity period for the loaded or read local resource based on the attribute information of the local resource and/or the attribute information of the first request information.
According to the embodiment of the disclosure, the validity period corresponding to the loaded or read local resource can be configured based on the attribute information of the local resource. And configuring a corresponding validity period for the loaded or read local resource based on the attribute information of the first request information. And configuring a corresponding validity period for the loaded or read local resource based on the attribute information of the local resource and the attribute information of the first request information.
Optionally, the attribute information of the local resource includes, but is not limited to, text, picture, audio, video. Accordingly, the attribute information of the first request information includes, but is not limited to, text, picture, audio, video.
For example, a short validity period may be configured based on an attribute of a picture, such as whether the picture is a motion picture, or in the case of a motion picture. In the case of not a moving picture, a long validity period is configured.
For example, some online picture processing or document editing services, where pictures or documents to be analyzed directly come from user equipment and belong to local resources, and the picture resources to be analyzed have a certain instantaneity, and after exiting the picture editing operation, the picture resources are not reused for a period of time, and a short validity period can be configured for the picture resources. For example, 2 hours, and in the case of more than 2 hours, these picture resources will be deleted to release the occupation of the storage space.
For another example, some software management programs need to display all information such as software lists or icons installed on the electronic device of the user, and since software installed by different users may not change greatly in a period of time and the icons of the software do not change frequently, long validity periods may be configured for the software lists and the software icons. For example, 6 months, and more than 6 months, the software lists and software icons will be deleted to free up memory.
It should be noted that, the configuration duration of the validity period in the above embodiments is only illustrative, and is not limited to the validity period configuration, and a person skilled in the art may configure the corresponding validity period for the read or loaded local resource according to actual needs.
Through the embodiment of the disclosure, the corresponding validity period is configured for the read or loaded local resource, so that dynamic management of the local resource can be realized, the occupation of the storage space is released in time, and the utilization rate and efficiency of the electronic equipment are improved.
As an alternative embodiment, processing the resource information into a video stream includes: acquiring a data structure of a video stream which can be displayed on a current display interface of the electronic equipment; and encoding the local resource or cache resource corresponding to the resource information and the attribute information of the first request information according to the data structure to obtain a video stream for loading.
Alternatively, the data structure of the video stream may be a Binary Large Object (Blob), which is a container capable of storing Binary files. Blob is often the type of field in the database used to store the binary file. A Blob is a large file, typically a picture or a sound file, which, due to their size, must be processed in a special way (e.g., uploaded, downloaded, or stored in a database). The Blob interface represents the original binary data, and the byte data in the Blob interface can be accessed through a slice () method of the Blob object. The Blob interface also has two attributes: size and type.
FIG. 4 schematically shows a schematic diagram of a data structure according to an embodiment of the disclosure.
As shown in FIG. 4, the Blob data structure includes Count, Item List, Body Binary, and Extra. Wherein, Count is 4 bytes in length, and marks the number of entries contained in the data. Item List is a List, like TID/Length, TID/Length … …, each small segment is 8 bytes long, up to 32 bytes long, depending on the Count number. Body binary is binary data of a local resource. Extra is an optional section for passing additional Extra information.
By the embodiment of the disclosure, the local resources are subjected to code conversion instead of being directly used, so that the safety of the local resources can be improved.
As an alternative embodiment, processing the resource information into a video stream to be dynamically loaded to at least a part of a display interface of the electronic device includes: and forwarding the video stream to a decoding unit through the first functional component for decoding so as to dynamically load the decoded original resource to at least part of a display interface generating the first request information.
According to the embodiment of the disclosure, in the decoding stage, the first functional component forwards the video stream to the decoding unit for decoding, and the two pieces of field information, i.e., the Count and the Item List shown in fig. 4, may be respectively intercepted by corresponding lengths from the Body Binary area to obtain the original resource corresponding to the local resource or the cache resource. It should be noted that any known decoding method may be utilized to obtain the original resource from the video stream, and a person skilled in the art may select a decoder according to actual needs.
FIG. 5 schematically shows a flow chart of a processing method according to another embodiment of the disclosure.
As shown in FIG. 5, the Html/JS page issues a request for obtaining local resources as logically needed. The request is forwarded via a preset command interpreter (e.g. UWP Shell) to a first functional component, e.g. Driver or plug-in, and the resource exceeding the validity period is deleted. Whether the local resource exists in the cache is detected through the Driver/plug, if so, the local resource is processed into a video Stream through an Encoder (Blob Stream Encoder), and the video Stream is forwarded to the UWPShell through the Driver/plug, so that a decoder can decode the video Stream, obtain the original resource of the local resource and load the original resource to the Html/JS page. And if not, reading the local resources from the local memory. Editing the local resources according to the attribute information of the local resources and/or the attribute information of the request information, checking the type, checking whether compression is needed, and configuring a validity period to realize effective management of the local resources.
By the embodiment of the disclosure, under the condition of not changing the configuration of the server, the acquisition of remote resources (CMS) and local resources can be realized, cross-domain access is avoided, the cost of resource access is reduced, and the efficiency of resource access is improved.
Fig. 6 schematically shows a block diagram of a processing device according to an embodiment of the disclosure.
As shown in fig. 6, the processing device 600 includes a transfer module 610 and a processing module 620. The processing device 600 may perform the processing methods described above with reference to fig. 2, 3-5 to implement the processing.
The transfer module 610 is configured to transfer the obtained first request information to a first functional component of the electronic device, so as to obtain resource information requested by the first request information through the first functional component, where the first functional component obtains the resource information at least in a hardware manner.
And the processing module 620 is configured to, in a case that the resource information is obtained, process the resource information into a video stream to be dynamically loaded to at least part of a display interface of the electronic device.
According to the embodiment of the disclosure, the first request information is transmitted to the first functional component, so that the first functional component obtains the local resource information in a hardware mode, server configuration does not need to be modified, and the local resource information is prevented from being obtained in a software mode. The local resource information is further processed into a video stream, and the video stream is dynamically loaded through the display interface, so that the local access of the resource information can be realized, and the technical problem that cross-domain access cannot be realized in related technologies can be at least partially solved.
Optionally, the transfer module is configured to: the method comprises the steps of detecting at least one operation which meets a condition and acts on a first application window of the electronic equipment, generating a first command, and forwarding the first command to a first functional component through a first request message which is interpreted by a preset command interpreter, or detecting at least one operation which meets the condition and acts on a current display page of the electronic equipment, generating a second command, and forwarding the second command to the first functional component through the first request message which is interpreted by the preset command interpreter.
Through the embodiment of the disclosure, under the condition that the operation meeting the condition is detected, the first request information is forwarded to the first functional component, so that the influence of misoperation can be reduced.
Optionally, the passed module is configured to: reading the cache resources in the preset storage area through the first functional component, taking the cache resources meeting the conditions as the resource information requested by the first request information under the condition that the cache resources meet the conditions and the matching degree of the cache resources with the first request information meets a first threshold, reading the local resources as the resource information requested by the first request information under the condition that the cache resources do not meet the conditions or the matching degree of the cache resources with the first request information meets a second threshold, reading the local resources under the condition that the cache resources meet the conditions and the matching degree of the cache resources with the first request information meets a third threshold, and taking the cache resources meeting the conditions and the read local resources as the resource information requested by the first request information.
Optionally, the transfer module is further configured to: and deleting the cache resources which do not meet the conditions in the preset storage area, and/or updating the cache resources in the preset storage area based on the loaded local resources.
By the embodiment of the disclosure, the cache resources are deleted and updated, the storage pressure of the cache region can be relieved, and the timeliness of the cache resources is improved.
Optionally, the transfer module is configured to: and reading the local resource corresponding to the first request information as resource information through the first functional component, or loading the corresponding local resource to a preset storage area based on the first request information so as to be read by the first functional component.
Through the embodiment of the disclosure, the resource information requested by the first request information can be acquired in multiple modes, so that the acquisition modes of the resource information are flexible and various, and the efficiency and the flexibility of acquiring the resource information are improved.
Optionally, the processing module is configured to: and editing the loaded or read local resource at least based on the attribute information of the first request information.
Optionally, the processing module is configured to: and configuring a corresponding validity period for the loaded or read local resource based on the attribute information of the local resource and/or the attribute information of the first request information.
Through the embodiment of the disclosure, the corresponding validity period is configured for the read or loaded local resource, so that dynamic management of the local resource can be realized, the occupation of the storage space is released in time, and the utilization rate and efficiency of the electronic equipment are improved.
Optionally, the processing module is configured to: and obtaining a data structure of the video stream which can be displayed on the current display interface of the electronic equipment, and coding the local resource or cache resource corresponding to the resource information and the attribute information of the first request information according to the data structure to obtain the video stream for loading.
By the embodiment of the disclosure, the local resources are subjected to code conversion instead of being directly used, so that the safety of the local resources can be improved.
Optionally, the processing module is configured to: and forwarding the video stream to a decoding unit through the first functional component for decoding so as to dynamically load the decoded original resource to at least part of a display interface generating the first request information.
By the embodiment of the disclosure, under the condition of not changing the configuration of the server, the acquisition of remote resources (CMS) and local resources can be realized, cross-domain access is avoided, the cost of resource access is reduced, and the efficiency of resource access is improved.
It should be understood that, in the embodiments of the present disclosure, the embodiments of the apparatus portion and the embodiments of the method portion are the same or similar in terms of technical problems to be solved, technical means to be used, technical effects to be achieved, and the like, and are not described herein again.
Any of the modules according to embodiments of the present disclosure, or at least part of the functionality of any of them, may be implemented in one module. Any one or more of the modules according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules according to the embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging the circuit, or in any one of three implementations, or in any suitable combination of any of the software, hardware, and firmware. Alternatively, one or more of the modules according to embodiments of the disclosure may be implemented at least partly as computer program modules which, when executed, may perform corresponding functions.
For example, any number of the passing module 610 and the processing module 620 may be combined in one module to be implemented, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the transferring module 610 and the processing module 620 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or in any one of three implementations of software, hardware, and firmware, or in any suitable combination of any of them. Alternatively, at least one of the transfer module 610 and the processing module 620 may be at least partially implemented as a computer program module, which when executed may perform the respective functions.
Fig. 7 schematically shows a block diagram of an electronic device according to an embodiment of the disclosure. The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, electronic device 700 includes a processor 710, a computer-readable storage medium 720. The electronic device 700 may perform a method according to an embodiment of the present disclosure.
In particular, processor 710 may comprise, for example, a general purpose microprocessor, an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), and/or the like. The processor 710 may also include on-board memory for caching purposes. Processor 710 may be a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
Computer-readable storage medium 720, for example, may be a non-volatile computer-readable storage medium, specific examples including, but not limited to: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and so on.
The computer-readable storage medium 720 may include a computer program 721, which computer program 721 may include code/computer-executable instructions that, when executed by the processor 710, cause the processor 710 to perform a method according to an embodiment of the disclosure, or any variation thereof.
The computer program 721 may be configured with, for example, computer program code comprising computer program modules. For example, in an example embodiment, code in computer program 721 may include one or more program modules, including 721A, modules 721B, … …, for example. It should be noted that the division and number of modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, so that the processor 710 may execute the method according to the embodiment of the present disclosure or any variation thereof when the program modules are executed by the processor 710.
According to an embodiment of the present disclosure, at least one of the transfer module 610 and the processing module 620 may be implemented as a computer program module described with reference to fig. 7, which, when executed by the processor 710, may implement the respective operations described above.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
While the disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.

Claims (10)

1. A method of processing, comprising:
transmitting the obtained first request information to a first functional component of the electronic equipment so as to obtain resource information requested by the first request information through the first functional component;
processing the resource information into a video stream to be dynamically loaded to at least part of a display interface of the electronic equipment under the condition of obtaining the resource information requested by the first request information,
and the first functional component at least acquires the resource information in a hardware mode.
2. The method of claim 1, wherein said communicating the obtained first request information to a first functional component of an electronic device comprises:
detecting at least one operation which meets a condition and acts on a first application window of the electronic equipment, generating a first command, and forwarding the first command to the first functional component through first request information which is interpreted by a preset command interpreter; or the like, or, alternatively,
detecting at least one operation which meets the condition and acts on a current display page of the electronic equipment, generating a second command, and forwarding the first request information of the second command after being interpreted by a preset command interpreter to the first functional component.
3. The method of claim 1, wherein the obtaining resource information of the first request information request comprises:
reading a cache resource in a preset storage area through the first functional component;
taking the cache resource meeting the condition as the resource information requested by the first request information under the condition that the cache resource meets the condition and the matching degree of the cache resource and the first request information meets a first threshold value;
reading local resources as the resource information requested by the first request information under the condition that the cache resources do not meet the condition or the matching degree of the cache resources and the first request information meets a second threshold;
and under the condition that the cache resource meets the condition and the matching degree of the cache resource and the first request information meets a third threshold value, reading the local resource, and taking the cache resource meeting the condition and the read local resource as the resource information requested by the first request information.
4. The method of claim 3, wherein the method further comprises:
deleting the cache resources which do not meet the conditions in the preset storage area; and/or the presence of a gas in the atmosphere,
and updating the cache resources in the preset storage area based on the loaded local resources.
5. The method of claim 1, wherein the obtaining resource information of the first request information request comprises:
reading, by the first functional component, a local resource corresponding to the first request information as the resource information; or the like, or, alternatively,
and loading the corresponding local resource to a preset storage area based on the first request information so as to be read by the first functional component.
6. The method of any of claims 3 to 5, further comprising:
and editing the loaded or read local resource at least based on the attribute information of the first request information.
7. The method of claim 6, further comprising:
and configuring a validity period corresponding to the loaded or read local resource based on the attribute information of the local resource and/or the attribute information of the first request information.
8. The method of any of claims 1 to 7, wherein the processing the resource information into a video stream comprises:
acquiring a data structure of a video stream which can be displayed on a current display interface of the electronic equipment;
and encoding the local resource or cache resource corresponding to the resource information and the attribute information of the first request information according to the data structure to obtain the video stream for loading.
9. The method of claim 1, wherein the processing the resource information into a video stream dynamically loaded to at least a portion of a display interface of the electronic device comprises:
and forwarding the video stream to a decoding unit for decoding through the first functional component, so as to dynamically load the decoded original resources to the at least part of the display interface generating the first request information.
10. A processing apparatus, comprising:
the transfer module is configured to transfer the obtained first request information to a first functional component of the electronic device so as to obtain resource information requested by the first request information through the first functional component;
a processing module configured to process the resource information into a video stream to be dynamically loaded to at least a part of a display interface of the electronic device in the case of obtaining the resource information,
and the first functional component at least acquires the resource information in a hardware mode.
CN201911361392.3A 2019-12-24 2019-12-24 Processing method and processing apparatus Pending CN111143742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911361392.3A CN111143742A (en) 2019-12-24 2019-12-24 Processing method and processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911361392.3A CN111143742A (en) 2019-12-24 2019-12-24 Processing method and processing apparatus

Publications (1)

Publication Number Publication Date
CN111143742A true CN111143742A (en) 2020-05-12

Family

ID=70520256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911361392.3A Pending CN111143742A (en) 2019-12-24 2019-12-24 Processing method and processing apparatus

Country Status (1)

Country Link
CN (1) CN111143742A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130111464A1 (en) * 2011-10-27 2013-05-02 3Dmedia Corporation Modular and open platform image capture devices and related methods
US20140025726A1 (en) * 2012-07-23 2014-01-23 Via Technologies, Inc. Hardware resource accessing systems and methods for accessing hardware resources in browser-based operating systems and machine-readable storage medium thereof
US9176752B1 (en) * 2012-12-04 2015-11-03 Amazon Technologies, Inc. Hardware-based mechanisms for updating computer systems
US20170300315A1 (en) * 2016-04-19 2017-10-19 Dropbox, Inc. Providing access to a hybrid application offline
US20190089810A1 (en) * 2016-01-28 2019-03-21 Alibaba Group Holding Limited Resource access method, apparatus, and system
CN109857963A (en) * 2017-08-31 2019-06-07 龙芯中科技术有限公司 Local resource access method, device and electronic equipment
CN110187889A (en) * 2019-05-23 2019-08-30 腾讯科技(深圳)有限公司 A kind of application starting method, apparatus and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130111464A1 (en) * 2011-10-27 2013-05-02 3Dmedia Corporation Modular and open platform image capture devices and related methods
US20140025726A1 (en) * 2012-07-23 2014-01-23 Via Technologies, Inc. Hardware resource accessing systems and methods for accessing hardware resources in browser-based operating systems and machine-readable storage medium thereof
US9176752B1 (en) * 2012-12-04 2015-11-03 Amazon Technologies, Inc. Hardware-based mechanisms for updating computer systems
US20190089810A1 (en) * 2016-01-28 2019-03-21 Alibaba Group Holding Limited Resource access method, apparatus, and system
US20170300315A1 (en) * 2016-04-19 2017-10-19 Dropbox, Inc. Providing access to a hybrid application offline
CN109857963A (en) * 2017-08-31 2019-06-07 龙芯中科技术有限公司 Local resource access method, device and electronic equipment
CN110187889A (en) * 2019-05-23 2019-08-30 腾讯科技(深圳)有限公司 A kind of application starting method, apparatus and storage medium

Similar Documents

Publication Publication Date Title
CN107491296B (en) Messaging application interfacing with one or more extension applications
CN108886672B (en) Message extension application store
CN108781311B (en) Video player framework for media distribution and management platform
CN112311754B (en) Interaction method and device and electronic equipment
US9560114B2 (en) Message switch file sharing
EP4021000A1 (en) Video playback method, device, apparatus, and storage medium
WO2020052337A1 (en) Information processing method and apparatus, storage medium, and electronic device
US20160150009A1 (en) Actionable souvenir from real-time sharing
WO2022144016A1 (en) Application program control method and apparatus, electronic device, and storage medium
US20150365497A1 (en) Providing access to information across multiple computing devices
CN110070592B (en) Generation method and device of special effect package and hardware device
US10419798B2 (en) Method and apparatus for just-in-time transcoding
CN114201705A (en) Video processing method and device, electronic equipment and storage medium
US20140164901A1 (en) Method and apparatus for annotating and sharing a digital object with multiple other digital objects
CN111797353A (en) Information pushing method and device and electronic equipment
CN111143742A (en) Processing method and processing apparatus
WO2022242461A1 (en) Method and apparatus for processing livestream audio/video, client, and server
US9704178B2 (en) Customizable sequence of content
CN111385599A (en) Video processing method and device
CN115103236A (en) Image record generation method and device, electronic equipment and storage medium
JP7124072B2 (en) Method, computer usable program and computer system for collaborative multi-user publishing of social media posts
CN112016280A (en) File editing method and device and computer readable medium
US11928755B2 (en) Integrating predetermined virtual tours for real-time delivery on third-party resources
US10567539B2 (en) Managing metadata in cloud driven, thin client video applications
Platt et al. Installing Commands Using Brew

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination