CN110830822A - Resource updating method, device and computer readable storage medium - Google Patents

Resource updating method, device and computer readable storage medium Download PDF

Info

Publication number
CN110830822A
CN110830822A CN201911113846.5A CN201911113846A CN110830822A CN 110830822 A CN110830822 A CN 110830822A CN 201911113846 A CN201911113846 A CN 201911113846A CN 110830822 A CN110830822 A CN 110830822A
Authority
CN
China
Prior art keywords
resource
updated
terminal
information
updating
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
CN201911113846.5A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911113846.5A priority Critical patent/CN110830822A/en
Publication of CN110830822A publication Critical patent/CN110830822A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4623Processing of entitlement messages, e.g. ECM [Entitlement Control Message] or EMM [Entitlement Management Message]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/64738Monitoring network characteristics, e.g. bandwidth, congestion level

Landscapes

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

Abstract

The application discloses a resource updating method, a device and a computer readable storage medium, wherein when a terminal to be updated is subjected to resource updating, a resource updating request is obtained in response to the connection of the terminal to be updated to a target network; and then analyzing the resource updating request to obtain resource attribute information, and generating a resource packet to be updated by using the resource attribute information. Therefore, the terminal to be updated can update resources according to the updated resource packet. The resource updating process of the terminal to be updated is completely an automatic updating process, so that the operation work of manual updating is reduced, and the purposes of improving the resource updating efficiency and accuracy are achieved.

Description

Resource updating method, device and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a resource updating method and apparatus, and a computer-readable storage medium.
Background
With the development of network information technology, currently, a user obtains resource information through electronic equipment, which has also become a main way for obtaining resources. In order to enable the user to obtain the latest resource information, the resource needs to be maintained and updated regularly or in real time.
However, it is not very convenient to update resources in some application scenarios, for example, if digital resources are presented to a user in a passenger cabin in an aviation system for viewing or consulting, due to the particularity of the aviation system, the user cannot connect a network to update resources in the aviation process, and after the aviation system is landed on an airport, the user needs to update the digital resources by using a movable storage device (e.g., a usb disk), which increases the workload of the user.
Disclosure of Invention
In view of this, the present application provides a resource updating method, a resource updating device and a computer-readable storage medium, which achieve the purpose of improving the resource updating efficiency and accuracy.
To achieve the above object, in one aspect, the present application provides a resource updating method, including:
responding to the connection of a terminal to be updated to a target network, and acquiring a resource updating request;
analyzing the resource updating request to obtain the resource attribute information of the terminal to be updated;
generating a resource packet to be updated by using the resource attribute information;
and transmitting the resource packet to be updated to the terminal to be updated through the target network, so that the terminal to be updated performs resource updating according to the resource packet to be updated.
In a possible implementation manner, the obtaining a resource update request in response to a connection of a terminal to be updated to a target network includes:
responding to the connection of a terminal to be updated to a target network, and acquiring resource information of the terminal to be updated;
and if the resource information meets the updating condition, generating a resource updating request.
In a possible implementation manner, the resource attribute information includes resource version information and terminal attribute information, where the analyzing the resource update request to obtain the resource attribute information of the terminal to be updated includes:
analyzing the resource information of the terminal to be updated matched with the resource request to obtain the resource version information of the terminal to be updated;
and analyzing the configuration information of the terminal to be updated matched with the resource request to obtain the terminal attribute information of the terminal to be updated.
In another aspect, the present application further provides a resource updating apparatus, including:
the request acquisition unit is used for responding to the connection of the terminal to be updated to the target network and acquiring a resource updating request;
a request analysis unit, configured to analyze the resource update request to obtain resource attribute information of the terminal to be updated;
the resource generating unit is used for generating a resource packet to be updated by utilizing the resource attribute information;
and the resource transmission unit is used for transmitting the resource packet to be updated to the terminal to be updated through the target network, so that the terminal to be updated performs resource updating according to the resource packet to be updated.
In yet another aspect, the present application further provides a computer-readable storage medium having stored thereon computer-executable instructions, which when loaded and executed by a processor, implement the resource updating method as described in any one of the above.
Therefore, when the resource of the terminal to be updated is updated, the resource updating request is acquired in response to the connection of the terminal to be updated to the target network; and then analyzing the resource updating request to obtain resource attribute information, and generating a resource packet to be updated by using the resource attribute information. Therefore, the terminal to be updated can update resources according to the updated resource packet. The resource updating process of the terminal to be updated is completely an automatic updating process, so that the operation work of manual updating is reduced, and the purposes of improving the resource updating efficiency and accuracy are achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the provided drawings without creative efforts.
FIG. 1 is a block diagram of a resource update system according to an embodiment of the present application;
fig. 2 is a signaling flow diagram illustrating a resource updating method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for generating a resource update request according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating functional modules of a ground server and an onboard server according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a method for updating resources of an onboard server according to an embodiment of the present application;
fig. 6 is a schematic structural diagram illustrating a resource updating apparatus according to an embodiment of the present application;
fig. 7 shows a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
The scheme of the application can be fast and conveniently provide the terminal with the resource packet to be updated which can be updated in the process of updating the resource of the terminal, so that the efficiency and the accuracy of updating the resource of the terminal are improved.
In the embodiment of the present application, a resource refers to multimedia information that can be output through a terminal, such as audio, video, and text information. The terminal to be updated may represent a device capable of resource information transmission, display and storage. Such as on-board service equipment in the aircraft cabin, information output equipment in the target scene, etc.
In order to facilitate understanding of the resource updating method of the present application, a system used in the resource updating method of the present application is described below. Referring to fig. 1, a schematic diagram of an architecture of a resource update system according to the present application is shown.
As shown in fig. 1, a resource updating system provided in an embodiment of the present application includes: a terminal 101 and a server 102. The terminal 101 represents a terminal to be updated, which needs to display resources, and the terminal 101 and the server 102 are in communication connection through the target network 103, that is, transmission of the resources to be updated is completed.
Specifically, the terminal 101 may be a mobile terminal such as a mobile phone and a tablet computer, or may be a fixed terminal that is mounted on a vehicle, an onboard vehicle, or fixed to another device and is capable of outputting resources. The server 102 has processing functions for resource storage, computation, and matching. The target network 103 may represent a wired network or a wireless network.
In response to the terminal 101 connecting to the target network 103, the server 102 acquires a resource update request. In the embodiment of the present application, the resource update request may be generated from the terminal 101 or may be generated from the server 102. When the resource update request is generated from the terminal 101, it is triggered by the terminal 101 accessing the target network 103, i.e. when the terminal 101 accesses the target network 103, the terminal 101 automatically generates the resource update request and sends the resource update request to the server 102. Another possible implementation manner is that the server 102 monitors the target network 103, and when it is monitored that a terminal is connected to the target network 103, the server 102 determines relevant resource information of the connected terminal to determine whether resource updating is needed, and if so, the server 102 generates a resource updating request so as to be able to perform response of resource updating according to the resource updating request in the following.
After acquiring the resource update request, the server 102 analyzes the resource update request, so as to obtain the resource attribute information matched with the terminal 101 to be updated. The resource attribute information may represent feature information of resources stored in the current terminal 101, and request information or association information of the current terminal 101 for the resources. For example, the information category, information update time, information version, etc. of the currently stored video information; the terminal can store the resource capacity, the time duration for updating the resource and the like; authority information of resource information that the terminal can store, and the like.
Then, the server 102 generates a resource package to be updated by using the resource attribute information. The process of matching the resources of the terminal to be updated according to the resource attribute information can include matching of resource types and matching of resource versions, so that a resource package to be updated is obtained, the resource package to be updated can include resources of different types and can also include encryption information, and the subsequent transmission security of the resource package to be updated is facilitated. After obtaining the resource package to be updated, the server 102 may transmit the resource package to be updated to the terminal 101 to be updated by using the target network. Thus, after receiving the resource packet to be updated, the terminal 101 to be updated will automatically complete the resource updating process, so that the resource output in the current terminal 101 is the updated resource.
It should be noted that, in order to enable quick update of resources, the resources stored or available by the server 102 need to be guaranteed to be the latest resources in real time. Therefore, the server 102 may further perform communication connection with the cloud server of the resource issuing party, and after the cloud server issues the latest resource, the server 102 may acquire the latest resource, and may number the acquired resource according to the time of resource issuing, for example, generate version number information of the resource, and the like. Therefore, when the resources of the terminal are updated, the server can directly call the resources stored in the server for updating, so that the bandwidth occupation of acquiring the cloud server resources while the resources of the terminal are transmitted is reduced, and the transmission efficiency of the resources can be effectively improved.
Specifically, based on the system shown in fig. 1, fig. 2 shows a signaling flow diagram of a resource updating method provided in the embodiment of the present application, and referring to fig. 2, the signaling flow may include:
s201, connecting a terminal to be updated to a target network, and generating a resource updating request;
and S202, the terminal to be updated sends the resource updating request to a server.
In the embodiment provided in fig. 2, when the terminal to be updated is connected to the target network, the terminal to be updated generates a resource update request. In a possible implementation manner, after monitoring that the terminal is connected to the target network, the network connection monitoring module of the terminal to be updated automatically generates a resource update request, where the resource update request may be used to request to update a resource of the current terminal, or may be a request to update a resource corresponding to an application of the current terminal. In another possible implementation manner, network connection may be monitored through an application of the terminal to be updated, and when it is monitored that the terminal is connected to the target network, the application may automatically generate a resource update request to update resources of the application.
For example, if the terminal to be updated belongs to an onboard terminal in an airplane cabin, the terminal can provide resource information for passengers, so that the passengers can watch, read or answer resources in the airplane flight process. Due to the limitation of the operating environment of the aircraft, the aircraft cannot be connected to a network in the flight process, so that the resource information acquired by the passengers is offline resource information, and the offline resource information needs to be updated in order to ensure the experience effect of the passengers. When the airplane lands at the airport, the onboard terminal of the airplane is connected to a target network of the airport, so that the onboard terminal can generate a resource updating request after network connection is carried out. The configuration information of the target network may be recorded on the on-board terminal, that is, when the on-board terminal can perform network connection, it will be connected to the connectable target network through the configuration information.
For another example, the terminal to be updated is a mobile terminal, specifically, a mobile phone for students to learn, and the mobile phone has an application capable of performing a certain learning item. With the difference of the learning progress, the learning resources which the students need to acquire need to be updated in real time. When the mobile phone is connected to the classroom network, the resource can be updated, that is, the application of the current learning item generates a resource updating request so as to request to obtain the updated resource corresponding to the teaching content of the current classroom.
In addition to the resource update request generated by the terminal to be updated in the embodiment of fig. 2, the resource update request may also be generated by the server. The server monitors the target network, when the server monitors that the terminal is connected to the target network, whether resource updating needs to be carried out on the currently connected terminal can be judged according to the attribute information, the authority information and the like of the terminal, and if the terminal is connected to the target network, a resource updating request is generated. This process will be described in detail in the following examples.
S203, the server receives a resource updating request;
and S204, the server analyzes the resource updating request to obtain the resource attribute information of the terminal to be updated.
The resource update request may carry related information that needs to be updated, such as resource category information, version information of the current resource, and the like. Therefore, the server needs to parse the resource update request to obtain the resource attribute information of the terminal to be updated. The resource attribute information may represent feature information of the current resource of the terminal to be updated, such as update time and version information of the current resource.
When the resource attribute information includes resource version information and terminal attribute information, the server analyzes the resource updating request to obtain the resource attribute information of the terminal to be updated, including:
s2041, analyzing the resource information of the terminal to be updated matched with the resource request to obtain the resource version information of the terminal to be updated;
s2042, analyzing the configuration information of the terminal to be updated matched with the resource request to obtain the terminal attribute information of the terminal to be updated.
The terminal to be updated stores resource information, and the resource information represents the current resource information. Therefore, after the server obtains the resource update request, on one hand, the server needs to analyze the resource information stored in the terminal to obtain the version information of the current resource information, that is, the update time of the current resource and the specific content of the resource can be obtained through the version information. On the other hand, the terminal to be updated may also include configuration information, so that the configuration information needs to be analyzed to obtain the terminal attribute information of the terminal to be updated. The terminal attribute information represents characteristics of the terminal to be updated, such as time and resource storage space for updating, or information of a terminal user.
For example, the terminal to be updated is an onboard terminal in an airplane cabin, and due to the particularity of the application scene, the terminal can be in communication connection with the resource updating server only after the airplane lands in the airport so as to update the resources. Therefore, it is necessary to analyze the resource information and configuration information of the current onboard terminal to obtain information related to the output resource in the current onboard terminal, such as the last update time of the current resource or the recorded version information. Meanwhile, terminal attribute information of the airborne terminal also needs to be obtained, and the corresponding storage capacity of the airborne terminal can be obtained. Since the time for the aircraft to stay after landing at the airport may be limited, for example, the aircraft parked in the airport stays at the airport for a period of time, which also affects the resource updating process, and these information are recorded in the onboard terminal in the form of flight information. It can be analyzed to obtain information of the update executable time in the attribute information of the terminal.
S205, the server generates a resource packet to be updated by using the resource attribute information;
s206, the server transmits the resource packet to be updated to the terminal to be updated through the target network;
and S207, the terminal to be updated updates the resources according to the resource packet to be updated.
After the server analyzes and obtains the resource attribute information, the resource attribute information is utilized to perform resource matching on the terminal to be updated, so as to obtain a resource packet to be updated, wherein the resource packet to be updated comprises resources which are matched with all types of resources in the current terminal to be updated. And then transmitting and synchronizing the resource packet to be updated to the terminal to be updated through the target network so as to realize the resource update of the terminal to be updated.
Specifically, when the resource attribute information includes the resource version information and the terminal attribute information, the resource packet to be updated is generated by using the resource attribute information, and the method includes:
acquiring resource information to be updated matched with the resource version information of the terminal to be updated;
and extracting information in the resource information to be updated by using the terminal attribute information of the terminal to be updated to obtain a resource packet to be updated.
In the process, the resource version information is firstly utilized to obtain the resource information to be updated, and then information extraction is carried out in the resource information to be updated according to the terminal attribute information of the terminal to be updated. The reason why the resource information to be updated is not directly used as the updatable resource of the terminal is that the terminal attribute information also influences the process of updating the terminal resource, and if some information cannot be presented on the terminal due to the authority problem, the information is not suitable for updating on the terminal, and the information is discarded.
For example, the terminal attribute information includes an update execution time and a terminal storage capacity, and the above-mentioned extracting information from the resource information to be updated by using the terminal attribute information of the terminal to be updated to obtain the resource packet to be updated includes:
extracting information from the resource information to be updated to obtain a target updating resource, wherein the information size of the target updating resource is matched with the storage capacity of the terminal;
and according to the execution updating time, performing batch processing on the target updating resources, so that the target updating resources after batch processing can be updated within the execution updating time of the terminal to be updated.
For example, taking an airplane cabin onboard terminal as an example, the terminal attribute information may include a terminal storage capacity, the size of the resource that can be updated at this time may be determined according to the storage capacity, and then the resource packet to be updated is determined in the resource information to be updated according to the size of the resource.
Because the time that the airplane stays in the airport may be limited, the target update resources are processed in batches according to the stay time, that is, the batch update of the current resources is realized, so that the partial complete update of the resources can be completed within the stay time, and the phenomenon that the resources are unavailable due to the fact that the transmission cannot be completed is avoided.
According to the resource updating method provided by the embodiment of the application, when the resource of the terminal to be updated is updated, the resource updating request is acquired in response to the connection of the terminal to be updated to a target network; and then analyzing the resource updating request to obtain resource attribute information, and generating a resource packet to be updated by using the resource attribute information. Therefore, the terminal to be updated can update resources according to the updated resource packet. The resource updating process of the terminal to be updated is completely an automatic updating process, so that the operation work of manual updating is reduced, and the purposes of improving the resource updating efficiency and accuracy are achieved.
In an embodiment of the present application, a method for generating a resource update request by a server is further provided, and referring to fig. 3, a flowchart of the method for generating a resource update request provided in the embodiment of the present application is shown, where the method may include the following steps:
s301, monitoring a target network to obtain access information of a terminal connected to the target network;
s302, judging whether the terminal to be updated is connected to a target network or not according to the access information, if so, executing a step S303, and if not, executing a step S301;
s303, acquiring resource information of the terminal to be updated;
s304, judging whether the resource information meets the updating condition, if so, executing the step S305, otherwise, executing the step S301;
s305, generating a resource updating request.
And the server monitors the terminal access condition of the target network in real time so as to judge whether the terminal to be updated is accessed to the target network according to the obtained terminal access information. The terminal to be updated can represent the terminal which is recorded by the server and needs to be monitored, and can also comprise a terminal with an update identifier. And responding to the connection of the terminal to be updated to the target network, and acquiring the resource information of the terminal to be updated by the server, namely acquiring the characteristics of the resource information stored in the current terminal to be updated so as to judge whether the resource information meets the updating condition. The update condition may be a condition for judging whether the resource information version of the terminal to be updated is the latest version, or a condition for representing whether the current terminal may have an authority to be updated. If the update condition is satisfied, a resource update request is generated.
Specifically, in this embodiment, the generating a resource update request when the resource information satisfies the update condition includes:
searching a resource version identifier corresponding to the resource information in a preset resource version list to obtain an initial resource version identifier;
and judging whether a target resource version matched with the initial resource version identification exists or not, and if so, generating a resource updating request.
The server can be in communication connection with a cloud server for resource release to ensure that resources in the server are the latest resources, and version serial numbers of the resources can be generated according to the resource release time and stored in a resource version list in advance. Wherein the version sequence number represents the resource version identification. For example, the resource version identification corresponding to the current resource is used as the initial resource version identification. And then judging whether a target resource version corresponding to the current resource version exists, namely judging whether the current resource information is the latest resource information, if the target resource version matched with the current resource version exists, proving that the current resource is not the latest resource information, and generating a resource updating request.
For example, when an onboard terminal of an airplane cabin is connected to an airport wireless network, a management server of the airport judges whether the resource version of the current onboard terminal is the latest version, and if not, a resource update request is generated.
In the method, the resource attribute information comprises trigger information of the resource of the terminal to be updated, wherein the trigger information refers to information of reading, selecting, playing and the like of the resource to be updated. I.e. it substantially characterizes the user's attention to the resource. In the process of generating a resource packet to be updated, carrying out information identification on triggering information of a resource of a terminal to be updated by a user to obtain a target resource category; and according to the target resource category, extracting resources from the resources to be updated matched with the terminal to be updated to obtain a resource packet to be updated.
The process may utilize Artificial Intelligence (AI), which is a theory, method, technique and application system that uses a digital computer or a machine controlled by a digital computer to simulate, extend and extend human Intelligence, perceive the environment, acquire knowledge and use the knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technique of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can react in a manner similar to human intelligence. Artificial intelligence is the research of the design principle and the realization method of various intelligent machines, so that the machines have the functions of perception, reasoning and decision making.
Specifically, the trigger information of the user, that is, the resource information concerned by the user, may be predicted by a machine learning method to obtain the resource information that the user may concern, and then when resource updating is performed, resource extraction may be performed according to a target resource category corresponding to the resource information that the user may concern, so as to obtain a resource package to be updated.
The method can be suitable for a flight transfer scene, namely when the aircraft lands on a transfer airport, the resources which are possibly interested by the user can be predicted according to the specific situation of the resources concerned by the user on the airborne terminal, and then when the resources are updated in the transfer airport, the resources are updated in a repeated mode, so that the passengers can obtain better resource experience effect.
It can be understood that, in the embodiment of the present application, when the server updates the resource of the terminal to be updated, the identification information corresponding to the resource is generated every time of updating, which is convenient for managing and storing the resource. Specifically, in response to the resource update of the terminal to be updated according to the resource packet to be updated, resource identification information matched with the resource packet to be updated is generated, and the resource identification information is matched and stored with the terminal identification corresponding to the terminal to be updated.
An example scenario where the resource updating method provided by the present application is applicable is that after a passenger plane arrives at an airport, passengers have gradually popularized in the current cabin service, and the passengers have gradually popularized to access the on-board electronic service through wireless WiFi, such as video on demand, games, reading, music, selecting meals, shopping, and the like. However, the current satellite communication system for the passenger cabin on the airplane has only a few parts to access the internet and the traffic cost is expensive. The online service function can not be provided, the service content is limited to be provided, and the on-board service requirement of passengers is difficult to meet. According to the method, the ground service and the airborne service of the aviation digital passenger cabin are automatically synchronized through the resource updating method, the ground service content resources can be automatically synchronized to the airborne service, and the airborne service provides the content resources for the user to use, so that the user can achieve the same experience effect as the user accesses the network information through the offline resource information in the azimuth airborne service, and the problems are solved. It should be noted that, when the passenger accesses the on-board resource service in the application, the passenger may interact with the off-line resource of the on-board terminal through the bluetooth or the local area wireless network, but cannot be connected to the cloud server, so as to interact with the external network.
Referring to fig. 4, a schematic diagram of functional modules of the ground server and the onboard server provided in the present application is shown. The ground server side can comprise a content resource database and a content resource distribution network, and can also provide functions of style dictionary management, position dictionary management, content configuration management, content verification and release, content policy management, content source management, airline group management and flight management through a content management background. Meanwhile, the ground server also comprises a content strategy matching engine and a content version management engine; and also provides resource packaging compression service and resource updating package downloading service. Correspondingly, the ground server can also obtain resource information through a video source, an audio source and an information source.
Correspondingly, the airborne server comprises a content resource database and a content distribution network; the aviation digital cabin can also provide resource service functions such as movie service, music service, video service, commodity information service and the like; the system also comprises a resource unpacking and decompressing service and a resource updating and packet pulling service.
Firstly, the ground server allocates the content resources of movies, music, information, commodities and the like; when the user takes the flight, the passenger cabin resources of the onboard service terminal can be accessed in the flying passenger cabin through the mobile terminal to obtain the resource information. After the airplane arrives at the airport each time, the airborne service terminal on the airplane is connected with the ground server to obtain the latest resources from the ground server.
On the basis of the schematic diagram of the functional modules of the ground server and the onboard server shown in fig. 4, an embodiment of the present application further provides a method for updating resources of the onboard server, and referring to fig. 5, a flowchart of the method for updating resources of the onboard server provided in the embodiment of the present application is shown, where the method may include the following steps:
s501, importing the resources through the resource publishing source.
Wherein, the resource distribution source includes: one or more of a video source, an audio source, and an information source. Specifically, resource import can be performed through an interface between the ground server and the cloud server for resource publishing, and content resources of different data sources such as videos, information and audios can be input into the management background of the ground server in a manual input mode.
S502, the ground server side automatically generates an initial version number for each resource.
The initial version number may be in the form of a timestamp and a number, e.g., 201907090101010001.
S503, generating a new version number for the updated resource.
The ground server side releases the resources on line at the airborne server side through a series of operations such as updating, auditing and releasing, and a new version number, such as 201907090101010002 and 201907090101010003, is regenerated for each updated resource.
S504, a resource updating request is received.
When the airplane arrives at the airport, the onboard server on the airplane can automatically connect with the ground server of the airport, and send a resource update request to the ground service, and the information such as the current flight number (such as A0001), the resource version number (such as 201907090101010002) and the like can be automatically won in the request.
And S505, automatically matching the corresponding content strategies according to the resource updating request through a content matching engine to obtain a matching strategy resource set.
After receiving the resource update request of the airborne server, the ground server automatically matches the corresponding airline group content policy (which can be configured in the CMS background) according to the flight number (such as a0001) in the request, and screens out all resources such as video, music, information and the like matching the flight through a content policy matching engine.
S506, obtaining the incremental updating resource set through the content version management engine.
The ground server end can also perform further version filtering on all the resources screened in the previous step through a content version management engine according to a resource version number (such as 201907090101010002) and screen out all the resources needing incremental updating.
For example, the main logic of version filtering is to compare according to the resource version number, if the current resource version number is: 201907090101010002, all resources with resource version numbers greater than 201907090101010002, such as 201907090101010003, are screened.
And S507, issuing the incremental updating resource set to the airborne server.
And the ground server side can also pack all the screened incremental updated resources into an offline resource update package through resource packing and compression service, and finally returns all the offline resource package lists to the airborne server side. After receiving all the offline resource packet lists, the onboard service end starts a resource update packet pulling thread pool, pulls all the resource update packets in batches, unpacks all the resources through a resource unpacking and decompressing service, and then leads the resources into the onboard service, thereby completing the whole incremental updating process.
According to the technical scheme for automatically synchronizing the ground service and the airborne service, a series of processing is carried out according to the flight number of the current airplane, the version number of the resource data, the content matching strategy, the incremental updating algorithm and the like, the content resource incremental updating package of the current airplane is automatically generated, and the automatic synchronization to the airborne service on the airplane is automatically carried out. All the processes are completely automated, manual participation is not needed, the labor cost is reduced, the probability of manual operation errors is reduced, all the updates are incremental updates, and the updating speed is higher.
In another aspect, the present application also provides a resource updating apparatus, as shown in fig. 6, which shows a schematic composition diagram of an embodiment of a resource updating apparatus of the present application, and the apparatus may include:
a request obtaining unit 601, configured to obtain a resource update request in response to a connection of a terminal to be updated to a target network;
a request parsing unit 602, configured to parse the resource update request to obtain resource attribute information of the terminal to be updated;
a resource generating unit 603, configured to generate a resource package to be updated by using the resource attribute information;
a resource transmitting unit 604, configured to transmit the resource packet to be updated to the terminal to be updated through the target network, so that the terminal to be updated performs resource update according to the resource packet to be updated.
In one possible case, the request obtaining unit includes:
the first acquisition subunit is used for responding to the connection of the terminal to be updated to a target network and acquiring the resource information of the terminal to be updated;
and the request generation subunit is used for generating a resource updating request if the resource information meets the updating condition.
Optionally, the request generation subunit is specifically configured to:
searching a resource version identifier corresponding to the resource information in a preset resource version list to obtain an initial resource version identifier;
and judging whether a target resource version matched with the initial resource version identification exists or not, and if so, generating a resource updating request.
In a possible case, when the resource attribute information in the request parsing unit includes resource version information and terminal attribute information, the request parsing unit includes:
the first analysis subunit is used for analyzing the resource information of the terminal to be updated matched with the resource request to obtain the resource version information of the terminal to be updated;
and the second analysis subunit is used for analyzing the configuration information of the terminal to be updated, which is matched with the resource request, so as to obtain the terminal attribute information of the terminal to be updated.
Optionally, the resource generation comprises:
the second acquisition subunit is used for acquiring the resource information to be updated matched with the resource version information of the terminal to be updated;
and the first information extraction subunit is used for extracting information from the resource information to be updated by using the terminal attribute information of the terminal to be updated to obtain the resource packet to be updated.
Optionally, the terminal attribute information includes an execution update time and a terminal storage capacity, where the information extraction subunit is specifically configured to:
extracting information from the resource information to be updated to obtain a target updating resource, wherein the information size of the target updating resource is matched with the storage capacity of the terminal;
and according to the execution updating time, performing batch processing on the target updating resources, so that the target updating resources after batch processing can be updated within the execution updating time of the terminal to be updated.
In a possible implementation manner, when the resource attribute information obtained in the request parsing unit includes trigger information of the user on the resource of the terminal to be updated, the resource generating unit includes:
the information identification subunit is used for carrying out information identification on the triggering information of the user on the resource of the terminal to be updated to obtain the category of the target resource;
and the second information extraction subunit is used for extracting resources from the resources to be updated matched with the terminal to be updated according to the target resource category to obtain a resource packet to be updated.
Optionally, the apparatus further comprises:
and the identification information generating unit is used for responding to the resource updating of the terminal to be updated according to the resource packet to be updated, generating resource identification information matched with the resource packet to be updated, and matching and storing the resource identification information and the terminal identification corresponding to the terminal to be updated.
On the other hand, the present application also provides a server, as shown in fig. 7, which shows a schematic structural diagram of the server of the present application, and the server 700 of this embodiment may include: a processor 701 and a memory 702.
Optionally, the server may further comprise a communication interface 703, an input unit 704 and a display 705 and a communication bus 706.
The processor 701, the memory 702, the communication interface 703, the input unit 704, and the display 705 all communicate with each other via the communication bus 706.
In the embodiment of the present application, the processor 701 may be a Central Processing Unit (CPU), an application specific integrated circuit, a digital signal processor, an off-the-shelf programmable gate array, or other programmable logic device.
The processor may call a program stored in the memory 702. Specifically, the processor may perform the operations performed on the application server side in the following embodiments of the resource update method.
The memory 702 is used for storing one or more programs, which may include program codes including computer operation instructions, and in this embodiment, the memory stores at least the programs for implementing the following functions:
responding to the connection of a terminal to be updated to a target network, and acquiring a resource updating request;
analyzing the resource updating request to obtain the resource attribute information of the terminal to be updated;
generating a resource packet to be updated by using the resource attribute information;
and transmitting the resource packet to be updated to the terminal to be updated through the target network, so that the terminal to be updated performs resource updating according to the resource packet to be updated.
In one possible implementation, the memory 702 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an identification information generating function, etc.), and the like; the storage data area may store data created according to the use of the computer, such as resource data, attribute information, and the like.
Further, the memory 702 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device or other volatile solid state storage device.
The communication interface 703 may be an interface of a communication module, such as an interface of a GSM module.
The present application may also include a display 704 and an input unit 705, and the like.
Of course, the structure of the server shown in fig. 7 does not constitute a limitation on the server in the embodiment of the present application, and in practical applications, the server may include more or less components than those shown in fig. 7, or some components may be combined.
On the other hand, an embodiment of the present application further provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are loaded and executed by a processor, the resource updating method performed by the server side in any one of the above embodiments is implemented.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
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 apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.

Claims (10)

1. A method for resource update, comprising:
responding to the connection of a terminal to be updated to a target network, and acquiring a resource updating request;
analyzing the resource updating request to obtain the resource attribute information of the terminal to be updated;
generating a resource packet to be updated by using the resource attribute information;
and transmitting the resource packet to be updated to the terminal to be updated through the target network, so that the terminal to be updated performs resource updating according to the resource packet to be updated.
2. The method according to claim 1, wherein the obtaining the resource update request in response to the terminal to be updated connecting to the target network comprises:
responding to the connection of a terminal to be updated to a target network, and acquiring resource information of the terminal to be updated;
and if the resource information meets the updating condition, generating a resource updating request.
3. The method of claim 2, wherein generating the resource update request if the resource information satisfies the update condition comprises:
searching a resource version identifier corresponding to the resource information in a preset resource version list to obtain an initial resource version identifier;
and judging whether a target resource version matched with the initial resource version identification exists or not, and if so, generating a resource updating request.
4. The method according to claim 1, wherein the resource attribute information includes resource version information and terminal attribute information, and wherein the parsing the resource update request to obtain the resource attribute information of the terminal to be updated includes:
analyzing the resource information of the terminal to be updated matched with the resource request to obtain the resource version information of the terminal to be updated;
and analyzing the configuration information of the terminal to be updated matched with the resource request to obtain the terminal attribute information of the terminal to be updated.
5. The method according to claim 4, wherein the generating the resource package to be updated by using the resource attribute information comprises:
acquiring resource information to be updated matched with the resource version information of the terminal to be updated;
and extracting information in the resource information to be updated by using the terminal attribute information of the terminal to be updated to obtain a resource packet to be updated.
6. The method according to claim 5, wherein the terminal attribute information includes an update execution time and a terminal storage capacity, and wherein extracting information from the resource information to be updated by using the terminal attribute information of the terminal to be updated to obtain the resource packet to be updated comprises:
extracting information from the resource information to be updated to obtain a target updating resource, wherein the information size of the target updating resource is matched with the storage capacity of the terminal;
and according to the execution updating time, performing batch processing on the target updating resources, so that the target updating resources after batch processing can be updated within the execution updating time of the terminal to be updated.
7. The method according to claim 1, wherein the resource attribute information includes trigger information of a user for a resource of the terminal to be updated, and the generating the resource packet to be updated using the resource attribute information includes:
performing information identification on the triggering information of the user on the resource of the terminal to be updated to obtain a target resource category;
and according to the target resource category, extracting resources from the resources to be updated matched with the terminal to be updated to obtain a resource packet to be updated.
8. The method of claim 1, further comprising:
and responding to the resource updating of the terminal to be updated according to the resource packet to be updated, generating resource identification information matched with the resource packet to be updated, and matching and storing the resource identification information and the terminal identification corresponding to the terminal to be updated.
9. A resource updating apparatus, comprising:
the request acquisition unit is used for responding to the connection of the terminal to be updated to the target network and acquiring a resource updating request;
a request analysis unit, configured to analyze the resource update request to obtain resource attribute information of the terminal to be updated;
the resource generating unit is used for generating a resource packet to be updated by utilizing the resource attribute information;
and the resource transmission unit is used for transmitting the resource packet to be updated to the terminal to be updated through the target network, so that the terminal to be updated performs resource updating according to the resource packet to be updated.
10. A computer-readable storage medium having stored thereon computer-executable instructions that, when loaded and executed by a processor, carry out a method of resource updating as claimed in any one of claims 1 to 8.
CN201911113846.5A 2019-11-14 2019-11-14 Resource updating method, device and computer readable storage medium Pending CN110830822A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911113846.5A CN110830822A (en) 2019-11-14 2019-11-14 Resource updating method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911113846.5A CN110830822A (en) 2019-11-14 2019-11-14 Resource updating method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110830822A true CN110830822A (en) 2020-02-21

Family

ID=69555239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911113846.5A Pending CN110830822A (en) 2019-11-14 2019-11-14 Resource updating method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110830822A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254531A (en) * 2021-05-17 2021-08-13 清华大学 Distributed different-time data updating system and method
CN113590664A (en) * 2021-08-09 2021-11-02 平安银行股份有限公司 Resource acquisition method, device, server and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708537A (en) * 2017-01-22 2017-05-24 百度在线网络技术(北京)有限公司 Application updating method and application updating device
CN106896991A (en) * 2017-02-21 2017-06-27 北京小米移动软件有限公司 A kind of method and device of fresh information
CN107231438A (en) * 2017-07-25 2017-10-03 成都西加云杉科技有限公司 Data-updating method and device
CN108197205A (en) * 2017-12-28 2018-06-22 广州酷狗计算机科技有限公司 A kind of early learning machine content updating method and early learning machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708537A (en) * 2017-01-22 2017-05-24 百度在线网络技术(北京)有限公司 Application updating method and application updating device
CN106896991A (en) * 2017-02-21 2017-06-27 北京小米移动软件有限公司 A kind of method and device of fresh information
CN107231438A (en) * 2017-07-25 2017-10-03 成都西加云杉科技有限公司 Data-updating method and device
CN108197205A (en) * 2017-12-28 2018-06-22 广州酷狗计算机科技有限公司 A kind of early learning machine content updating method and early learning machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254531A (en) * 2021-05-17 2021-08-13 清华大学 Distributed different-time data updating system and method
CN113590664A (en) * 2021-08-09 2021-11-02 平安银行股份有限公司 Resource acquisition method, device, server and storage medium

Similar Documents

Publication Publication Date Title
US8732727B2 (en) Agnostic execution cluster for an agnostic execution environment
CN109388417B (en) Communication protocol updating method, system and terminal equipment
CN110598110B (en) Service pushing method and device
CN110120970A (en) Data processing method, device and gateway system based on car networking
CN110830822A (en) Resource updating method, device and computer readable storage medium
CN106598678A (en) Method and device for supplying application installation packages to terminal equipment
KR102411891B1 (en) Real-time distributed similation device using digital twin and method using the same
CN112148493A (en) Streaming media task management method and device and data server
WO2022267175A1 (en) Information processing method and apparatus, and computer device and storage medium
CN104202387A (en) Metadata recovery method and related device
CN111107147B (en) Message pushing method and device
CN111062470A (en) AI processing method and device
CN115865279A (en) Airborne recorded data decoding method and device for airplane, electronic equipment and storage medium
CN112188245B (en) Front-end camera real-time video-on-demand method and device and electronic equipment
CN109063102A (en) Data transmission method for uplink, device and the airborne smart machine of airborne smart machine
CN111901408B (en) Content recommendation method and device in offline state and computer program product
CN115214884A (en) Method and device for transmitting remote identification information, storage medium and electronic device
CN115134254A (en) Network simulation method, device, equipment and storage medium
CN103269289A (en) Air traffic control radar information test method and equipment
CN108829824B (en) Resource processing method and device in internet operation activity
CN112203103A (en) Message processing method and device, electronic equipment and computer readable storage medium
CN104506634B (en) Intelligent guide to visitors service system and method
CN117097343B (en) Decoding method of airborne data, electronic equipment and storage medium
CN117076757B (en) Knowledge service retrieval and management system based on large model
CN111859145B (en) Information searching method and device, electronic equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40021632

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200221