CN106027309B - The acquisition methods and device of device status information - Google Patents

The acquisition methods and device of device status information Download PDF

Info

Publication number
CN106027309B
CN106027309B CN201610427233.9A CN201610427233A CN106027309B CN 106027309 B CN106027309 B CN 106027309B CN 201610427233 A CN201610427233 A CN 201610427233A CN 106027309 B CN106027309 B CN 106027309B
Authority
CN
China
Prior art keywords
instruction database
information
cloud server
governance policies
cloud
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610427233.9A
Other languages
Chinese (zh)
Other versions
CN106027309A (en
Inventor
刘廷伟
于芝涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN201610427233.9A priority Critical patent/CN106027309B/en
Publication of CN106027309A publication Critical patent/CN106027309A/en
Application granted granted Critical
Publication of CN106027309B publication Critical patent/CN106027309B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present invention provides the acquisition methods and device of a kind of device status information.This method comprises: obtaining the first instruction database of latest edition, information governance policies is obtained from cloud server, and call first instruction database according to the information governance policies, obtain the current state information of equipment;The current state information is reported to the cloud server according to the information governance policies.The method of the embodiment of the present invention allows cloud server to grasp the device status information of smart television in real time, consequently facilitating carrying out targetedly management and dynamic operation to smart television, and when being extended to device status information, without upgrade application, it only needs that the device status information for meeting cloud server demand can be obtained by the first instruction database of calling, realize the extension to device status information, the generation of the case where to avoid system crash brought by upgrade application, substantially increases the system reliability and stability of smart television.

Description

The acquisition methods and device of device status information
Technical field
The present embodiments relate to the acquisition methods and device of the communication technology more particularly to a kind of device status information.
Background technique
With the continuous development of the communication technology, smart television is increasingly becoming electronic equipment indispensable in people's life. In general, smart television has a device identification (Identification, abbreviation ID) when leaving the factory, manufacturer is in smart television When factory, the corresponding storage hard disk of the device id, memory, central processing unit (Central Processing will record Unit, abbreviation CPU), image processor (Graphics Processing Unit, abbreviation GPU), the related letter such as screen size Breath, and these information are uploaded to cloud server by some system softwares.After smart television accesses internet, cloud End server can manage the device status information of the smart television according to the device id of the smart television.
But cloud server is to the way to manage of the device status information of numerous smart televisions in the prior art, often There are problems that following two:
One, the variation of equipment state is not accounted for, such as the memory space variation of equipment, external equipment etc., for example, false The quotient that sets up factories will promote the application installed on smart television, and the memory space that this application needs is 1G, therefore, cloud clothes The smart television that business device can only be greater than 1G for remaining space promotes the application.But the intelligence known by cloud server The storage space information of energy TV is still the initial memory space of smart television, so this popularization is relatively difficult to achieve;
Two, device status information extension is inconvenient, for example, it is assumed that smart television is not considered to need to acquire when dispatching from the factory GPU information, and need to acquire GPU information in follow-up developments (such as subsequent needs install somatic sensation television game additional in equipment and answer With), the prior art can only can just get GPU information by the application with system permission on upgrading smart television, but this The situation that kind mode be easy to cause system crash etc. unpredictable occurs.
Therefore, how the status information of dynamic acquisition equipment so that cloud server can with fine-grained management equipment, and The case where not will cause system crash appearance becomes current technical staff technical problem urgently to be resolved.
Summary of the invention
The embodiment of the present invention provides the acquisition methods and device of a kind of device status information, to solve prior art medium cloud Hold server can not dynamic acquisition equipment status information, lead to not targetedly promote some applications in numerous equipment, The technical issues of to can not dynamically manage with lean operation equipment, while also to solve the prior art for expansion equipment Status information and upgrading has the technical issues of application of system permission is so as to cause system crash.
In a first aspect, the embodiment of the present invention provides a kind of acquisition methods of device status information, comprising:
The first instruction database of latest edition is obtained, first instruction database is used to indicate the equipment state that equipment needs to obtain The type of information;
Information governance policies are obtained from cloud server, and call first instruction according to the information governance policies Library obtains the current state information of equipment;
The current state information is reported to the cloud server according to the information governance policies;
Wherein, the information governance policies are used to indicate the time for calling first instruction database and report described current The scene of status information.
The acquisition methods for the device status information that above-mentioned first aspect provides, by the first instruction for obtaining latest edition Library, and information governance policies are obtained from cloud server, to call first instruction database according to the information governance policies, obtain The current state information of equipment, and then current state information is reported to cloud server according to the information governance policies.Due to The present embodiment has fully considered the variation of equipment state, by information governance policies and the first instruction database, so that smart television can With by current state information obtained according to reporting scene to be reported to cloud server so that cloud server can be real When grasp smart television device status information, consequently facilitating to smart television carry out targetedly management and dynamic run;Separately Outside, the present embodiment is only by the application on smart television as the medium communicated with cloud server, to device status information into When row extension, it is not necessarily to upgrade application, it is only necessary to the first instruction database for obtaining latest edition, by calling the first instruction database The device status information for meeting cloud server demand is obtained, realizes the extension to device status information, so that upgrading be avoided to answer Occurred with the case where brought system crash, substantially increases the system reliability and stability of smart television.
In a kind of possible embodiment of the embodiment of the present invention, first instruction database for obtaining latest edition, tool Body includes:
Judge whether the version of local instruction database is consistent with the version of the cloud instruction database on the cloud server;
If consistent, it is determined that the local instruction database is first instruction database.
In the alternatively possible embodiment of the embodiment of the present invention, the version for judging local instruction database with it is described Whether the version of the cloud instruction database on cloud server is consistent, further includes:
If the version of the local instruction database and the version of the cloud instruction database on the cloud server are inconsistent, obtain The cloud instruction database is taken, determines that the cloud instruction database is first instruction database, and the local instruction database progress is standby Part.
It is described to obtain information control plan from cloud server in another possible embodiment of the embodiment of the present invention Before slightly, the method also includes:
Judgement is by calling whether first instruction database can get device status information;
If so, obtaining the information governance policies from the cloud server;
If it is not, the local instruction database is then determined as the first new instruction database, and institute is obtained from the cloud server State information governance policies.
In another possible embodiment of the embodiment of the present invention, the information governance policies include calling described the The time of one instruction database and the time for reporting the current state information;
Alternatively,
The information governance policies include calling the time of first instruction database and reporting the current state information Condition;
Alternatively,
The information governance policies include the time for calling first instruction database, report the current state information when Between and report the condition of the current state information.
The acquisition methods for the device status information that above-mentioned possible embodiment provides, by the version for judging local instruction database Whether this consistent with the version of the cloud instruction database on cloud server, and when judge consistent, determines that local instruction database is the One instruction database;And if cloud instruction database is obtained from cloud server and determines cloud instruction when judging inconsistent Library is the first instruction database, and local instruction database is backed up, so that smart television can save network bandwidth and network Flow, avoid directly acquiring cloud instruction database on the slave cloud server of smart television blindness as the first instruction database and caused by Bandwidth resources waste;In addition, before obtaining information governance policies from cloud server, judgement is by calling cloud instruction database It is no to get device status information, to substantially increase the success rate that smart television reports current state information.
It is described to obtain information control plan from cloud server in the alternatively possible embodiment of the embodiment of the present invention Slightly, it specifically includes:
To the cloud server sending strategy acquisition request, the mark of the strategy acquisition request Portable device;
Receive the information governance policies that the cloud server is sent;Wherein, institute is preset on the cloud server State the mark and the mapping relations of the information governance policies of equipment.
The acquisition methods for the device status information that above-mentioned possible embodiment provides, it is default not by server beyond the clouds With the mark of equipment and the mapping relations of different information governance policies, allow smart television by sending out to cloud server Send the tactful acquisition request of the mark of Portable device, so that it may obtain the corresponding information governance policies of the smart television, simplify Smart television obtains the process of information governance policies, improves the efficiency that smart television obtains information governance policies.
Second aspect, the embodiment of the present invention provide a kind of acquisition device of device status information, comprising:
Instruction database obtains module, and for obtaining the first instruction database of latest edition, first instruction database, which is used to indicate, to be set The type of the standby device status information for needing to obtain;
Strategy obtains module, for obtaining information governance policies from cloud server;
Data obtaining module obtains working as equipment for calling first instruction database according to the information governance policies Preceding status information;
Sending module, for the current state information to be reported to the cloud service according to the information governance policies Device;
Wherein, the information governance policies are used to indicate the time for calling first instruction database and report described current The scene of status information.
In a kind of possible embodiment of the embodiment of the present invention, described instruction library obtains module, specifically includes:
Judging unit, the version of the cloud instruction database in version and the cloud server for judging local instruction database It is whether consistent;
First determination unit, for judge in the judging unit local instruction database version and the cloud server Cloud instruction database version it is consistent when, determine that the local instruction database is first instruction database.
In the alternatively possible embodiment of the embodiment of the present invention, described instruction library obtains module, further includes:
Second determination unit, for judge in the judging unit local instruction database version and the cloud server Cloud instruction database version it is inconsistent when, obtain the cloud instruction database, determine the cloud instruction database be it is described first refer to Library is enabled, and the local instruction database is backed up.
In another possible embodiment of the embodiment of the present invention, described device further include:
Judgment module, for judging by calling whether first instruction database can get device status information;
Then the strategy obtains module, is specifically used in judgment module judgement by calling the first instruction database energy When enough getting device status information, the information governance policies are obtained from the cloud server;Alternatively,
The strategy obtains module, is also used to judge in the judgment module by calling first instruction database that can not obtain When getting device status information, the local instruction database is determined as the first new instruction database, and obtain from the cloud server Take the information governance policies.
Optionally, the information governance policies include calling the time of first instruction database and reporting the current state The time of information;
Alternatively,
The information governance policies include calling the time of first instruction database and reporting the current state information Condition;
Alternatively,
The information governance policies include the time for calling first instruction database, report the current state information when Between and report the condition of the current state information.
In another possible embodiment of the embodiment of the present invention, the strategy obtains module, specifically includes:
Transmission unit, for the cloud server sending strategy acquisition request, the strategy acquisition request carrying to be set Standby mark;
Receiving unit, the information governance policies sent for receiving the cloud server;Wherein, the cloud clothes The mark and the mapping relations of the information governance policies of the equipment are preset on business device.
The acquisition methods and device of device status information provided in an embodiment of the present invention, by obtain latest edition first Instruction database, and information governance policies are obtained from cloud server, so that first instruction database is called according to the information governance policies, The current state information of equipment is obtained, and then current state information is reported to cloud server according to the information governance policies. Since the present embodiment has fully considered the variation of equipment state, by information governance policies and the first instruction database, so that intelligence electricity Depending on can be by current state information obtained according to reporting scene to be reported to cloud server, so that cloud server can To grasp the device status information of smart television in real time, consequently facilitating carrying out targetedly management and dynamic fortune to smart television Battalion;In addition, the present embodiment is believed only by the application on smart television as the medium communicated with cloud server to equipment state When breath is extended, it is not necessarily to upgrade application, it is only necessary to the first instruction database for obtaining latest edition, by calling the first instruction database just The available device status information for meeting cloud server demand realizes the extension to device status information, to avoid rising The case where grade application brought system crash, occurs, and substantially increases the system reliability and stability of smart television.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram of the acquisition methods embodiment one of device status information provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the acquisition methods embodiment two of device status information provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of the acquisition methods embodiment three of device status information provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of the acquisition methods example IV of device status information provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of the acquisition methods embodiment five of device status information provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of the acquisition device embodiment one of device status information provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of the acquisition device embodiment two of device status information provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of the acquisition device embodiment three of device status information provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
The present embodiments relate to equipment, can be smart television, can also be air-conditioning, mobile phone, tablet computer, individual The electronic equipments such as digital assistants, the embodiment of the present invention is to the type of equipment and with no restrictions.In addition, involved by formula of the embodiment of the present invention And device status information, can be the relevant informations such as the corresponding storage hard disk of equipment, memory, CPU, GPU, screen size.Under The equipment in embodiment is stated to be illustrated taking a smart TV as an example.
The present embodiments relate to device status information acquisition methods and device, it is intended to solve cloud in the prior art Server can not dynamic acquisition equipment status information, lead to not targetedly promote some applications in numerous equipment, from And the technical issues of can not dynamically managing with lean operation equipment, while also to solve the prior art for expansion equipment shape State information and upgrading has the technical issues of application of system permission is so as to cause system crash.
Technical solution of the present invention is described in detail with specifically embodiment below.These specific implementations below Example can be combined with each other, and the same or similar concept or process may be repeated no more in some embodiments.
Fig. 1 is the flow diagram of the acquisition methods embodiment one of device status information provided in an embodiment of the present invention.This What is involved is smart televisions by calling newest first instruction database, and the information according to acquired in from cloud server for embodiment Control strategy reports the detailed process of the current state information of smart television to cloud server.As shown in Figure 1, this method is specific May include:
S101: obtaining the first instruction database of latest edition, and first instruction database is used to indicate equipment and needs what is obtained to set The type of standby status information.
Specifically, smart television can report smart television to cloud server by the application being mounted on smart television Current state information, therefore, smart television needs to start the application on smart television reporting the initial stage.Optionally, should Using that can be any type of application on smart television, as long as it can be interacted by the application with cloud server ?.
Optionally, smart television can directly acquire the first instruction database (cloud clothes of latest edition from cloud server Cloud instruction database on business device is that the variation needed with operation is constantly updated, i.e., the cloud instruction on cloud server The version in library is latest edition always), the first instruction database can also be obtained from the other equipment interconnected with cloud server, also The first instruction database can be obtained according to the local instruction database of smart television, i.e. how the embodiment of the present invention obtains smart television The mode of first instruction database of latest edition and without limitation.First instruction database is used to indicate that smart television is current desired to be obtained The type of the device status information taken, that is, tell which device status information smart television needs to obtain.
S102: information governance policies are obtained from cloud server, and call described first according to the information governance policies Instruction database obtains the current state information of equipment.
S103: the current state information is reported to the cloud server according to the information governance policies.
Wherein, the information governance policies are used to indicate the time for calling first instruction database and report described current The scene of status information.
Specifically, smart television can obtain information from cloud server after smart television obtains the first instruction database Control strategy, and call above-mentioned first instruction database according to the information governance policies, that is, the instruction in first instruction database is executed, is obtained Obtain the current state information of smart television.Due to the information governance policies can with indicating intelligent TV call the first instruction database when Between, therefore, smart television can call the first instruction database according to allocating time indicated in information governance policies, to obtain Obtain the current state information of smart television.Optionally, indicate that smart television calls the first instruction database in the information governance policies Time can be multiple times, i.e., the information governance policies can call in different times the first instruction with indicating intelligent TV Library to obtain status information of the smart television under different time, but is given the correct time on last, and what is generally reported is last The status information of the smart television obtained when the first instruction database of secondary calling, but be not limited thereto, to be advised in information governance policies Fixed reports subject to scene.
Method provided in this embodiment considers the variation of equipment state in real time, passes through information governance policies and One instruction database allows smart television by current state information obtained according to reporting scene to be reported to cloud server, So that cloud server can grasp the device status information of smart television in real time, consequently facilitating carrying out needle to smart television Management and dynamic to property are runed;In addition, the present embodiment is only by the application on smart television as communicating with cloud server Medium is not necessarily to upgrade application when being extended to device status information, it is only necessary to the first instruction database of latest edition is obtained, The device status information for meeting cloud server demand can be obtained by the first instruction database of calling, realize and equipment state is believed The extension of breath, thus the case where avoiding system crash brought by upgrade application generation, the system for substantially increasing smart television Reliability and stability.
The acquisition methods of device status information provided in an embodiment of the present invention, by the first instruction for obtaining latest edition Library, and information governance policies are obtained from cloud server, to call first instruction database according to the information governance policies, obtain The current state information of equipment, and then current state information is reported to cloud server according to the information governance policies.Due to The present embodiment has fully considered the variation of equipment state, by information governance policies and the first instruction database, so that smart television can With by current state information obtained according to reporting scene to be reported to cloud server so that cloud server can be real When grasp smart television device status information, consequently facilitating to smart television carry out targetedly management and dynamic run;Separately Outside, the present embodiment is only by the application on smart television as the medium communicated with cloud server, to device status information into When row extension, it is not necessarily to upgrade application, it is only necessary to the first instruction database for obtaining latest edition, by calling the first instruction database The device status information for meeting cloud server demand is obtained, realizes the extension to device status information, so that upgrading be avoided to answer Occurred with the case where brought system crash, substantially increases the system reliability and stability of smart television.
Fig. 2 is the flow diagram of the acquisition methods embodiment two of device status information provided in an embodiment of the present invention.This What is involved is the detailed processes of the first instruction database of smart television acquisition latest edition for embodiment.On the basis of above-described embodiment On, further, above-mentioned S101 can specifically include:
S201: judge local instruction database version and the cloud instruction database on the cloud server version whether one It causes.If so, S202 is executed, if it is not, then executing S203.
S202: determine that the local instruction database is first instruction database.
Specifically, when the version of the cloud instruction database in the version and cloud server that smart television determines local instruction database When consistent, illustrating that the version of local instruction database has been latest edition, i.e., local instruction database is the instruction database for being exactly latest edition, Smart television can directly acquire local instruction database in this way, as the first instruction database, so as to save the network of smart television Flow.When the step of smart television is using local instruction database as that can execute above-mentioned S102 and S103 after the first instruction database, This is repeated no more.
S203: obtaining the cloud instruction database, determines that the cloud instruction database is first instruction database, and by described Ground instruction database is backed up.
Specifically, when the version of the cloud instruction database in the version and cloud server that smart television determines local instruction database When consistent, illustrate that the version of local instruction database is not latest edition, then smart television needs download cloud from cloud server Instruction database, using cloud instruction database as the first instruction database, at the same time, smart television can be backed up local instruction database.
Optionally, when smart television determines that the first instruction database is cloud instruction database, smart television can be executed directly The current state information of smart television is reported to cloud server by the step of stating S102 and S103.
Optionally, when smart television determines that the first instruction database is cloud instruction database, in order to further increase smart television Current state information report success rate, before above-mentioned " obtaining information governance policies from cloud server ", can also hold Row embodiment three shown in Fig. 3, specifically:
S301: judgement is by calling whether first instruction database can get device status information, if so, executing S302, if it is not, then executing S303.
Specifically, smart television calls the cloud to refer to after smart television determines that the first instruction database is cloud instruction database Library is enabled, that is, executes the instruction in the cloud instruction database, implementing result is obtained, to judge whether to get by the implementing result Device status information.Optionally, corresponding result can generally identifies in the implementing result, such as the mark such as error, pass Know, smart television can be determined current by calling whether cloud instruction database can obtain by the mark in the implementing result To device status information, that is, judge whether the cloud instruction database can be used.
S302: information governance policies are obtained from cloud server.
Specifically, when smart television is determined by calling the cloud instruction database that can get device status information, then Smart television can directly execute the step of above-mentioned S102 and S103, and the current state information of smart television is reported to cloud Server realizes that cloud server operates and manages the dynamic of smart television.
In addition, it is necessary to explanation, needs to call the first instruction database when executing S102 after S302, but tune here With different the reason of calling the first instruction database in the first instruction database and above-mentioned S301, specifically: the first instruction database is called in S301 Primarily to determining whether the first instruction database can normally get device status information and (judge that the first instruction database whether may be used With), and the first instruction database is called when executing S102 after S302, primarily to ensuring that smart television can get itself Newest status information (i.e. the current state information of smart television), realize cloud server to the dynamic operation of smart television and Management.
S303: the local instruction database is determined as the first new instruction database, and from described in cloud server acquisition Information governance policies, and the first new instruction database is called according to the information governance policies, obtain the current state of equipment Information.
Specifically, when smart television is determined by calling the cloud instruction database that can not get device status information, then Above-mentioned backed up local instruction database is determined as the first new instruction database, then obtains the smart television pair from cloud server The information governance policies answered, to obtain the smart television according to the first instruction database that the information governance policies call this new Current state information, and then report scene that current state information is reported to cloud indicated by the information governance policies Server.
Optionally, above- mentioned information control strategy may include calling the time of first instruction database and reporting described current The time of status information.
Optionally, above- mentioned information control strategy may include calling the time of first instruction database and reporting described current The condition of status information.The condition can be the change rate of memory, the service efficiency that can be CPU, can also be depositing for hard disk Store up the change rate etc. in space.
Optionally, above- mentioned information control strategy may include the time for calling first instruction database, report it is described current The time of status information and the condition for reporting the current state information.
For the information governance policies in the more specific description embodiment of the present invention, it is following cite a plain example for Bright: assuming that the basic memory residue 100M of 4 points of 59 minutes smart television A, the information governance policies obtained from cloud server are 6 Point reports the current state information of smart television A, called every 10 minutes first instruction database (call the first instruction database when Between) and if memory surplus is less than 50M and the current state information of smart television A is reported (to report the item of current state information Part).Simultaneously, it is assumed that the local instruction database of smart television is the first instruction database of latest edition.
In this way, smart television A controls plan according to acquired information after smart television A gets the first instruction database Slightly, separately begin from 4: 59 every first instruction database of 10 minutes calling, until being obtained to 5 points of 59 minutes first instruction databases of calling After the current state information of smart television A, at 6, it is reported to cloud server, meanwhile, if gone out in this process It is also reported to cloud server when the case where memory surplus of existing smart television A is less than 50M, so that cloud server can Dynamically to grasp the status information of smart television A.
The acquisition methods of device status information provided in an embodiment of the present invention, by the version and cloud that judge local instruction database It holds the version of the cloud instruction database on server whether consistent, and when judging consistent, determines that local instruction database is the first instruction Library;And if cloud instruction database is obtained from cloud server and determines that the cloud instruction database is the when judging inconsistent One instruction database, and local instruction database is backed up, so that smart television can save network bandwidth and network flow, keep away Exempt to directly acquire cloud instruction database on the slave cloud server of smart television blindness as the first instruction database and caused by bandwidth provide Source waste;In addition, whether judgement is by calling cloud instruction database that can before obtaining information governance policies from cloud server Device status information is got, to substantially increase the success rate that smart television reports current state information.
Fig. 4 is the flow diagram of the acquisition methods example IV of device status information provided in an embodiment of the present invention.This What is involved is the detailed processes that smart television obtains information governance policies for embodiment.On the basis of the above embodiments, further The process on ground, above-mentioned " smart television obtains information governance policies from cloud server " can specifically include:
S401: Xiang Suoshu cloud server sending strategy acquisition request, the mark of the strategy acquisition request Portable device.
S402: the information governance policies that the cloud server is sent are received;Wherein, pre- on the cloud server If the mark and the mapping relations of the information governance policies of the equipment.
The acquisition methods of device status information provided in an embodiment of the present invention preset distinct device by server beyond the clouds Mark and different information governance policies mapping relations, smart television is carried by sending to cloud server The tactful acquisition request of the mark of equipment, so that it may obtain the corresponding information governance policies of the smart television, simplify intelligent electricity Process depending on obtaining information governance policies improves the efficiency that smart television obtains information governance policies.
Fig. 5 is the flow diagram of the acquisition methods embodiment five of device status information provided in an embodiment of the present invention.This What is involved is smart televisions that the current state information of smart television is reported to cloud server for embodiment, so that cloud server energy Enough dynamics operate and manage the detailed process of smart television.As shown in figure 5, this method comprises:
S501: smart television starts the application being mounted on smart television.
S502: smart television judges the version of the cloud instruction database on cloud server and the local instruction database of smart television Version it is whether consistent.If so, S503 is executed, if it is not, then executing S507.
S503: smart television determines that local instruction database is the first instruction database.
S504: smart television obtains information governance policies from cloud server.
S505: smart television calls the first instruction database according to the information governance policies, obtains the current state information of equipment.
S506: the current state information is reported to the cloud service according to the information governance policies by smart television Device.
S507: smart television determines that cloud instruction database is the first instruction database, and obtains the cloud from cloud server and instruct Library, meanwhile, back up local instruction database.Execute S508.
S508: smart television judgement is by calling whether cloud instruction database can get device status information.If so, S504-S506 is executed, if it is not, then executing S509.
S509: the local instruction database is determined as the first new instruction database by smart television, and from the cloud server The information governance policies are obtained, and re-call above-mentioned the first new instruction database according to the information governance policies, obtain equipment Current state information, then execute S506.
The detailed process of above-mentioned S501-S509 may refer to the embodiment of the method for above-mentioned Fig. 1 to Fig. 4, implementation procedure and Beneficial effect is similar, and details are not described herein.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Fig. 6 is the structural schematic diagram of the acquisition device embodiment one of device status information provided in an embodiment of the present invention.It should Device can realize that optionally, which can be independent equipment by way of software, hardware or software and hardware combining, Such as smart television, it can also be the device being integrated in smart television.As shown in fig. 6, the apparatus may include: instruction database obtains Modulus block 10, strategy obtain module 11, data obtaining module 12 and sending module 13.
Specifically, instruction database obtains module 10, for obtaining the first instruction database of latest edition, first instruction database is used In the type for the device status information that indicating equipment needs to obtain;
Strategy obtains module 11, for obtaining information governance policies from cloud server;
Data obtaining module 12 obtains equipment for calling first instruction database according to the information governance policies Current state information;
Sending module 13 takes for the current state information to be reported to the cloud according to the information governance policies Business device;
Wherein, the information governance policies are used to indicate the time for calling first instruction database and report described current The scene of status information.
The acquisition device of device status information provided in an embodiment of the present invention can execute above method embodiment, in fact Existing principle is similar with technical effect, and details are not described herein.
Fig. 7 is the structural schematic diagram of the acquisition device embodiment two of device status information provided in an embodiment of the present invention.? On the basis of above-mentioned embodiment illustrated in fig. 6, further, above-metioned instruction library obtains module 10, specifically includes: judging unit 101, First determination unit 102.
Specifically, judging unit 101, for judging that the version of local instruction database refers to the cloud on the cloud server Enable the version in library whether consistent;
First determination unit 102, version and the cloud for judging local instruction database in the judging unit 101 take When the version for the cloud instruction database being engaged on device is consistent, determine that the local instruction database is first instruction database.
Optionally, with continued reference to shown in Fig. 7, it can also include the second determination unit 103 that above-metioned instruction library, which obtains module 10, Above-mentioned apparatus can also include judgment module 14.
Specifically, the second determination unit 103, for judging version and the institute of local instruction database in the judging unit 101 State the cloud instruction database on cloud server version it is inconsistent when, obtain the cloud instruction database, determine cloud instruction Library is first instruction database, and the local instruction database is backed up.
Judgment module 14, for judging by calling whether first instruction database can get device status information;
Then the strategy obtains module 11, is specifically used in the judgment module 14 judgement by calling first instruction When library can get device status information, the information governance policies are obtained from the cloud server;Alternatively,
The strategy obtains module 11, be also used to the judgment module 14 judge by call first instruction database without When method gets device status information, the local instruction database is determined as the first new instruction database, and from the cloud service Device obtains the information governance policies.
The acquisition device of device status information provided in an embodiment of the present invention can execute above method embodiment, in fact Existing principle is similar with technical effect, and details are not described herein.
Optionally, the information governance policies include calling the time of first instruction database and reporting the current state The time of information;
Alternatively,
The information governance policies include calling the time of first instruction database and reporting the current state information Condition;
Alternatively,
The information governance policies include the time for calling first instruction database, report the current state information when Between and report the condition of the current state information.
Fig. 8 is the structural schematic diagram of the acquisition device embodiment three of device status information provided in an embodiment of the present invention.? On the basis of above-mentioned embodiment illustrated in fig. 7, further, above-mentioned strategy obtains module 11, specifically includes:
Transmission unit 111, for the cloud server sending strategy acquisition request, the strategy acquisition request to be carried The mark of equipment;
Receiving unit 112, the information governance policies sent for receiving the cloud server;Wherein, the cloud The mark and the mapping relations of the information governance policies of the equipment are preset on the server of end.
The acquisition device of device status information provided in an embodiment of the present invention can execute above method embodiment, in fact Existing principle is similar with technical effect, and details are not described herein.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (4)

1. a kind of acquisition methods of device status information characterized by comprising
The first instruction database of latest edition is obtained, first instruction database is used to indicate the device status information that equipment needs to obtain Type;
Information governance policies are obtained from cloud server, and call first instruction database according to the information governance policies, are obtained Take the current state information of equipment;
The current state information is reported to the cloud server according to the information governance policies;
Wherein, the information governance policies are used to indicate the time for calling first instruction database and report the current state The scene of information;
First instruction database for obtaining latest edition, specifically includes:
Judge whether the version of local instruction database is consistent with the version of the cloud instruction database on the cloud server;
If consistent, it is determined that the local instruction database is first instruction database;
Whether the version for judging local instruction database is consistent with the version of the cloud instruction database on the cloud server, also wraps It includes:
If the version of the local instruction database and the version of the cloud instruction database on the cloud server are inconsistent, institute is obtained Cloud instruction database is stated, determines that the cloud instruction database is first instruction database, and the local instruction database is backed up;
Before the acquisition information governance policies from cloud server, the method also includes:
Judgement is by calling whether first instruction database can get device status information;
If so, obtaining the information governance policies from the cloud server;
If it is not, the local instruction database of backup is then determined as the first new instruction database, and obtained from the cloud server The information governance policies.
2. the method according to claim 1, wherein the information governance policies include calling first instruction The time in library and the time for reporting the current state information;
Alternatively,
The information governance policies include the time for calling first instruction database and the condition for reporting the current state information;
Alternatively,
The information governance policies include the time for calling first instruction database, report the current state information time and Report the condition of the current state information.
3. according to the method described in claim 2, it is characterized in that, described obtain information governance policies, tool from cloud server Body includes:
To the cloud server sending strategy acquisition request, the mark of the strategy acquisition request Portable device;
Receive the information governance policies that the cloud server is sent;Wherein, described set is preset on the cloud server Standby mark and the mapping relations of the information governance policies.
4. a kind of acquisition device of device status information characterized by comprising
Instruction database obtains module, and for obtaining the first instruction database of latest edition, first instruction database is used to indicate equipment and needs The type for the device status information to be obtained;
Strategy obtains module, for obtaining information governance policies from cloud server;
Data obtaining module obtains the current shape of equipment for calling first instruction database according to the information governance policies State information;
Sending module, for the current state information to be reported to the cloud server according to the information governance policies;
Wherein, the information governance policies are used to indicate the time for calling first instruction database and report the current state The scene of information;
Described instruction library obtains module, specifically includes:
Judging unit, whether the version of the cloud instruction database in version and the cloud server for judging local instruction database Unanimously;
First determination unit, for the cloud in the version and the cloud server that the judging unit judges local instruction database When holding the version of instruction database consistent, determine that the local instruction database is first instruction database;
Described instruction library obtains module, further includes:
Second determination unit, for the cloud in the version and the cloud server that the judging unit judges local instruction database When holding the version of instruction database inconsistent, the cloud instruction database is obtained, determines that the cloud instruction database is first instruction database, And the local instruction database is backed up;
Described device further include:
Judgment module, for judging by calling whether first instruction database can get device status information;
Then the strategy obtains module, specifically for that can be obtained in judgment module judgement by calling first instruction database When getting device status information, the information governance policies are obtained from the cloud server;Alternatively,
The strategy obtains module, is also used to judge in the judgment module by calling first instruction database that can not get When device status information, the local instruction database of backup is determined as the first new instruction database, and from the cloud server Obtain the information governance policies.
CN201610427233.9A 2016-06-14 2016-06-14 The acquisition methods and device of device status information Active CN106027309B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610427233.9A CN106027309B (en) 2016-06-14 2016-06-14 The acquisition methods and device of device status information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610427233.9A CN106027309B (en) 2016-06-14 2016-06-14 The acquisition methods and device of device status information

Publications (2)

Publication Number Publication Date
CN106027309A CN106027309A (en) 2016-10-12
CN106027309B true CN106027309B (en) 2019-05-07

Family

ID=57088690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610427233.9A Active CN106027309B (en) 2016-06-14 2016-06-14 The acquisition methods and device of device status information

Country Status (1)

Country Link
CN (1) CN106027309B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010429B (en) * 2019-12-04 2022-07-12 浪潮云信息技术股份公司 Method and system for managing equipment running state based on platform of Internet of things

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316201A (en) * 2008-07-18 2008-12-03 中国工商银行股份有限公司 Multi-terminal mode script device and data processing method and automatization test system
CN102135900A (en) * 2010-01-26 2011-07-27 株式会社Ntt都科摩 Information processing apparatus and information processing method
CN103686694A (en) * 2013-12-26 2014-03-26 华为技术有限公司 Status information acquiring method, service control point and server
CN103869761A (en) * 2012-12-14 2014-06-18 海尔集团公司 Household appliance control method and control system
CN104601695A (en) * 2015-01-14 2015-05-06 北京京东尚科信息技术有限公司 Intelligent device control method, device and system
CN104865839A (en) * 2015-05-29 2015-08-26 四川长虹电器股份有限公司 Information processing method and intelligent home control equipment
CN105187476A (en) * 2015-06-10 2015-12-23 广东工业大学 Equipment control method based on Wechat public platform and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316201A (en) * 2008-07-18 2008-12-03 中国工商银行股份有限公司 Multi-terminal mode script device and data processing method and automatization test system
CN102135900A (en) * 2010-01-26 2011-07-27 株式会社Ntt都科摩 Information processing apparatus and information processing method
CN103869761A (en) * 2012-12-14 2014-06-18 海尔集团公司 Household appliance control method and control system
CN103686694A (en) * 2013-12-26 2014-03-26 华为技术有限公司 Status information acquiring method, service control point and server
CN104601695A (en) * 2015-01-14 2015-05-06 北京京东尚科信息技术有限公司 Intelligent device control method, device and system
CN104865839A (en) * 2015-05-29 2015-08-26 四川长虹电器股份有限公司 Information processing method and intelligent home control equipment
CN105187476A (en) * 2015-06-10 2015-12-23 广东工业大学 Equipment control method based on Wechat public platform and system

Also Published As

Publication number Publication date
CN106027309A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN108845816A (en) Application program update method, system, computer equipment and storage medium
US9182975B2 (en) Automatic application updates
US20210389973A1 (en) Electronic device and method for operating the same
JP2021516395A (en) Resource configuration method, equipment, terminals, and storage media
CN108540965B (en) Internet of things communication method and device based on LoRa technology and storage medium
CN105700927B (en) Version upgrading method, terminal device and version server
EP3635547B1 (en) Systems and methods for preventing service disruption during software updates
AU2019397240B2 (en) Memory crash prevention for a computing device
CN103810010A (en) Information processing method and first electronic device terminal
CN105404530B (en) It is a kind of to realize easy deployment and the system and method using private clound
CN111078238A (en) Centralized processing method and device for application configuration in container environment
CN104580757A (en) Phone state sharing method and device
CN105335192B (en) A kind of information processing method and electronic equipment
CN114565502A (en) GPU resource management method, scheduling method, device, electronic equipment and storage medium
CN106027309B (en) The acquisition methods and device of device status information
CN107577532B (en) Resource allocation method and Related product
CN111284352A (en) Transport vehicle charging method and system
CN109388498A (en) A kind of processing method of mutual exclusion, device, equipment and medium
US20240152504A1 (en) Data interaction method, apparatus, and electronic device
CN105677490A (en) Method and electronic devices for processing notification event
CN104899145A (en) Embedded system debugging method
CN114035823A (en) Business service updating method and device
CN115237575A (en) Real-time task data processing method and device for heterogeneous platform
CN117412109A (en) Device connection method, device, electronic device and computer storage medium
CN116980859A (en) Information synchronous interaction method for vehicle and cloud and related equipment

Legal Events

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