CN109413370A - A kind of function displaying method, device, electronic equipment and storage medium - Google Patents
A kind of function displaying method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109413370A CN109413370A CN201710706847.5A CN201710706847A CN109413370A CN 109413370 A CN109413370 A CN 109413370A CN 201710706847 A CN201710706847 A CN 201710706847A CN 109413370 A CN109413370 A CN 109413370A
- Authority
- CN
- China
- Prior art keywords
- function
- device type
- target electronic
- electronic equipment
- type
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/102—Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention provides a kind of function displaying method, device, electronic equipment and storage mediums, in this method, determining the first device type with the first electronic equipment of target electronic device communication connection, according to the first device type, it determines the first function to be shown, the first function to be shown is shown in target electronic device.In the embodiment of the present invention, by way of determining the first function to be shown according to the first device type, function relevant to the first device type is shown in target electronic device, due to the device type that the first device type is the first electronic equipment communicated to connect with target electronic device, so that shown function is no longer the function for all devices type that can be communicated to connect with target electronic device, the demand for meeting user, optimizes user experience.
Description
Technical field
The present invention relates to facility information field of display technology, set more particularly to a kind of function displaying method, device, electronics
Standby and storage medium.
Background technique
Currently, target electronic device can add the electronic equipment that can communicate with connection, and such as: target electronic device is
Computer, computer can add camera, and the device type of camera is encoding device, and encoding device generally has preview and playback
Etc. functions preview function and playback function therefore can be shown on computer.Due to the electronics that can be communicated to connect with target electronic device
The device category of equipment is more, therefore, as shown in Figure 1, meeting Pagination Display can communicate with the electricity of connection in target electronic device
The function of all devices type of sub- equipment, Fig. 1 (a) are the function that target electronic device first page is shown, Fig. 1 (b) is target
The function that electronic equipment second page is shown.
Due to this function displaying method, it is shown that the function of all devices type, even target electronic device not
In the case where the electronic equipment for adding a certain device type, the corresponding function of the device type can be also shown, will give user as a result,
Biggish puzzlement is brought, such as: assuming that target electronic device has added camera, it is not added with scanner, camera corresponding function
A, scanner corresponding function B, then target electronic device is by display function A and function B, when the user clicks when shown function B,
Function B can not be configured by having been found that, cause the experience of user poor as a result,.
Therefore, a kind of function displaying method is needed at present, optimizes user experience.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of function displaying method, device, electronic equipment and storage medium, with
Optimize user experience.Specific technical solution is as follows:
A kind of function displaying method is applied to target electronic device, which comprises
Determining the first device type with the first electronic equipment of target electronic device communication connection;
According to first device type, the first function to be shown is determined;
The described first function to be shown is shown in the target electronic device.
Optionally, the first device type of the first electronic equipment of the determination and target electronic device communication connection
The step of, comprising:
Transmission device types obtain information to the first electronic equipment with target electronic device communication connection;
Receive the first device type of the first electronic equipment feedback.
Optionally, described according to first device type, the step of determining the first function to be shown, comprising:
According to first device type, searched from the database pre-established corresponding with first device type
Function, wherein the corresponding relationship of device type and function is stored in the database pre-established;
Whether the quantity for detecting first device type is 1;
If so, the function of being found is determined as the first function to be shown;
If not, determining that all mutually different functions are the first function to be shown from the function of being found.
Optionally, after the step of showing first function to be shown in the target electronic device, the method
Further include:
When detecting the second electronic equipment with target electronic device communication connection, determine that second electronics is set
The second standby device type;
Determine the corresponding function of second device type;
From identified function and first function to be shown, determine that all mutually different functions are second to aobvious
Show function;
The described second function to be shown is shown in the target electronic device.
Optionally, first device type includes:
At least one of encoding device, decoding device, access control equipment or warning device.
A kind of function display, is applied to target electronic device, and described device includes:
First device type determining module, for determining the first electronic equipment with target electronic device communication connection
The first device type;
First function determining module to be shown, for determining the first function to be shown according to first device type;
First display module, for showing the described first function to be shown in the target electronic device.
Optionally, the first device type determining module, comprising:
Transmission unit obtains information to the first electricity with target electronic device communication connection for transmission device types
Sub- equipment;
Receiving unit, for receiving the first device type of the first electronic equipment feedback.
Optionally, the described first function determining module to be shown, comprising:
Searching unit, for being searched and described first from the database pre-established according to first device type
The corresponding function of device type, wherein the corresponding relationship of device type and function is stored in the database pre-established;
Detection unit, whether the quantity for detecting first device type is 1, if so, triggering first determines list
Member, if not, the second determination unit of triggering;
First determination unit, for the function of being found to be determined as the first function to be shown;
Second determination unit, for from the function of being found, determining that all mutually different functions are first
Function to be shown.
Optionally, described device further include:
Second device type determining module, for shown in the target electronic device the described first function to be shown it
Afterwards, when detecting the second electronic equipment with target electronic device communication connection, second electronic equipment is determined
Second device type;
Function determining module, for determining the corresponding function of second device type;
Second function determining module to be shown, for determining from identified function and first function to be shown
All mutually different functions are the second function to be shown;
Second display module, for showing the described second function to be shown in the target electronic device.
Optionally, first device type includes:
At least one of encoding device, decoding device, access control equipment or warning device.
A kind of electronic equipment, including processor and memory, wherein the memory, for storing computer program;Institute
Processor is stated, for executing the program stored on the memory, realization following steps:
Determining the first device type with the first electronic equipment of target electronic device communication connection;
According to first device type, the first function to be shown is determined;
The described first function to be shown is shown in the target electronic device.
Optionally, the first device type of the first electronic equipment of the determination and target electronic device communication connection
The step of, comprising:
Transmission device types obtain information to the first electronic equipment with target electronic device communication connection;
Receive the first device type of the first electronic equipment feedback.
Optionally, described according to first device type, the step of determining the first function to be shown, comprising:
According to first device type, searched from the database pre-established corresponding with first device type
Function, wherein the corresponding relationship of device type and function is stored in the database pre-established;
Whether the quantity for detecting first device type is 1;
If so, the function of being found is determined as the first function to be shown;
If not, determining that all mutually different functions are the first function to be shown from the function of being found.
Optionally, after the step of showing first function to be shown in the target electronic device, the method
Further include:
When detecting the second electronic equipment with target electronic device communication connection, determine that second electronics is set
The second standby device type;
Determine the corresponding function of second device type;
From identified function and first function to be shown, determine that all mutually different functions are second to aobvious
Show function;
The described second function to be shown is shown in the target electronic device.
Optionally, first device type includes:
At least one of encoding device, decoding device, access control equipment or warning device.
A kind of computer readable storage medium is stored with computer program, the computer program in the storage medium
Following steps are realized when being executed by processor:
Determining the first device type with the first electronic equipment of target electronic device communication connection;
According to first device type, the first function to be shown is determined;
The described first function to be shown is shown in the target electronic device.
Optionally, the first device type of the first electronic equipment of the determination and target electronic device communication connection
The step of, comprising:
Transmission device types obtain information to the first electronic equipment with target electronic device communication connection;
Receive the first device type of the first electronic equipment feedback.
Optionally, described according to first device type, the step of determining the first function to be shown, comprising:
According to first device type, searched from the database pre-established corresponding with first device type
Function, wherein the corresponding relationship of device type and function is stored in the database pre-established;
Whether the quantity for detecting first device type is 1;
If so, the function of being found is determined as the first function to be shown;
If not, determining that all mutually different functions are the first function to be shown from the function of being found.
Optionally, after the step of showing first function to be shown in the target electronic device, the method
Further include:
When detecting the second electronic equipment with target electronic device communication connection, determine that second electronics is set
The second standby device type;
Determine the corresponding function of second device type;
From identified function and first function to be shown, determine that all mutually different functions are second to aobvious
Show function;
The described second function to be shown is shown in the target electronic device.
Optionally, first device type includes:
At least one of encoding device, decoding device, access control equipment or warning device.
In the embodiment of the present invention, determining the first equipment class with the first electronic equipment of target electronic device communication connection
Type determines the first function to be shown according to the first device type, and the first function to be shown is shown in target electronic device.This
In inventive embodiments, by way of determining the first function to be shown according to the first device type, shown in target electronic device
Show function relevant to the first device type, since the first device type is electric with the first of target electronic device communication connection
The device type of sub- equipment, so that shown function is no longer all devices type that can be communicated to connect with target electronic device
Function, meet the demand of user, optimize user experience.
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 only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 (a) is the schematic diagram for the function that target electronic device first page is shown in the related technology;
Fig. 1 (b) is the schematic diagram for the function that target electronic device second page is shown in the related technology;
Fig. 2 is the first flow diagram for the function displaying method that present invention implementation provides;
Fig. 3 is the flow diagram for the first device type of determination that present invention implementation provides;
Fig. 4 is the flow diagram for the function to be shown of determination first that present invention implementation provides;
Fig. 5 is the schematic diagram for the function to be shown of display first that present invention implementation provides;
Fig. 6 is second of flow diagram of the function displaying method that present invention implementation provides;
Fig. 7 is the schematic diagram for the function to be shown of display second that present invention implementation provides;
Fig. 8 is the structural schematic diagram for the function display that present invention implementation provides;
Fig. 9 is the structural schematic diagram for the electronic equipment that present invention implementation provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In order to solve Related Technical Issues, the embodiment of the invention provides a kind of function displaying method, device, electronic equipments
And storage medium.
A kind of function displaying method is provided for the embodiments of the invention first below to be introduced.
As shown in Fig. 2, a kind of function displaying method provided in an embodiment of the present invention, it is applied to target electronic device, it can be with
Include:
S101: determining the first device type with the first electronic equipment of target electronic device communication connection.
Since current electronic equipment meeting Pagination Display can be functional with the institute of the electronic equipment of electronic equipment communication connection,
Cause the experience of user poor, therefore, the embodiment of the present invention is in order to optimize user experience, in display function, based on user's
Demand carrys out display function.
Due to the corresponding function of equipment that general electronic equipment has added, the as required function of user, therefore, in order to
Can the demand based on user come display function, it is thus necessary to determine that the with the first electronic equipment of target electronic device communication connection
One device type determines the first device type of the first electronic equipment that target electronic device has been added.
First device type of the first electronic equipment of above-mentioned determination and target electronic device communication connection, can be to pass through
The mode for sending request message obtains the first device type.Referring to Fig. 3, step S101 may include:
S1011: transmission device types obtain information to the first electronic equipment with target electronic device communication connection.
In order to know the first device type of the first electronic equipment communicated to connect with target electronic device, it can send and set
Standby type obtains information to the first electronic equipment with target electronic device communication connection.
It should be noted that the process of target electronic device addition electronic equipment is general are as follows:
Start the destination application in target electronic device, wherein destination application is for management objectives electronics
The application program of electronic equipment added by equipment.
Electronic equipment is added at the equipment management interface of destination application.
It is detailed, electronic equipment is added at the equipment management interface of destination application, it can be in destination application
Equipment management interface input institute electronic equipment to be added IP address and port numbers etc., be as a result, to complete electronics to set
Standby addition.
In addition, in order to guarantee safety, when being added electronic equipment, in addition to input electronic equipment to be added
Other than IP address and port numbers, username and password can also be inputted.
In the case where username and password is proved to be successful, the addition of electronic equipment is completed, after adding electronic equipment, mesh
Mark electronic equipment can be communicated to connect with added electronic equipment.
Above-mentioned is the process of target electronic device addition electronic equipment, is communicated to connect to know with target electronic device
The first electronic equipment the first device type, target electronic device add the first electronic equipment after the completion of, can to mesh
The the first electronic equipment transmission device types for marking electronic equipment communication connection obtain information.
S1012: the first device type of the first electronic equipment feedback is received.
Information is obtained to after the first electronic equipment of target electronic device communication connection in transmission device types, and first is electric
Sub- equipment receives the device type and obtains information, and feeds back itself the first device type to target electronic device, target electricity
Sub- equipment receives the first device type of the first electronic equipment feedback.
Target electronic device knows the first device type of the first electronic equipment as a result,.
S102: according to the first device type, the first function to be shown is determined.
After the first device type of determining the first electronic equipment communicated to connect with target electronic device, in order to based on use
The demand at family carrys out display function, needs to determine function to be shown according to the first device type.
Referring to fig. 4, step S102 may include:
S1021: according to the first device type, function corresponding with the first device type is searched from the database pre-established
It can, wherein the corresponding relationship of device type and function is stored in the database pre-established.
In order to determine function to be shown, the database for being stored with the corresponding relationship of device type and function has been pre-established.
After determining the first device type, it can be based on the first device type, found from the database pre-established
Function corresponding with the first device type.
Detailed, the process for establishing database can be with are as follows:
(1) the multiple electronic equipments that can be communicated to connect with target electronic device are obtained;
(2) device type of multiple electronic equipments obtained is determined;
(3) the corresponding function of each device type is determined respectively;
(4) corresponding relationship of each device type Yu each function is saved in the database.
In order to establish database, needs to obtain the multiple electronic equipments that can be communicated to connect with target electronic device, obtaining
It include device type pass corresponding with function to establish after the multiple electronic equipments that can be communicated to connect with target electronic device
The database of system, it is thus necessary to determine that the device type of multiple electronic equipments obtained.
The function as possessed by same device type is generally identical, after device type has been determined, determine respectively
Then the corresponding function of each device type saves the corresponding relationship of each device type Yu each function in the database.By
This, completes the foundation of database.
Such as: assuming that the multiple electronic equipments that can be communicated to connect with target electronic device are as follows: electronic equipment A, electronic equipment
B, the device type of electronic equipment C and electronic equipment D, electronic equipment A and electronic equipment B are W, the device type of electronic equipment C
For X, the device type of electronic equipment D is that Y, electronic equipment A and electronic equipment B all have function a, b and c, and electronic equipment C has
Function d and e, electronic equipment D is with function f and g;
Then establish the process of database are as follows:
Obtain the multiple electronic equipments that can be communicated to connect with target electronic device: electronic equipment A, electronic equipment B, electronics are set
Standby C and electronic equipment D;
Determine the device type of multiple electronic equipments obtained: W, X, Y;
The corresponding function of each device type is determined respectively;Determine that the corresponding function of device type W is a, b and c, determination is set
The standby corresponding function of type X is d and e, determines that the corresponding function of device type Y is f and g;
The corresponding relationship for saving each device type and each function in the database is as shown in the table:
Device type | Function |
W | a、b、c |
X | d、e |
Y | f、g |
S1022: whether the quantity of the first device type of detection is 1, if so, step S1023 is executed, if not, executing
Step S1024.
In order to determine the first function to be shown, after finding function corresponding with the first device type, need to know
The quantity of one device type, therefore, whether the quantity of detection device type is 1, and carries out subsequent step according to testing result.
S1023: the function of being found is determined as the first function to be shown.
When the quantity for detecting the first device type is 1, illustrates to only exist a device type at this time, be set due to one
It is that there is no identical functions in the standby corresponding function of type, therefore, at this point, can directly be determined as the function of being found
The function to be shown of current first.
S1024: from the function of being found, determine that all mutually different functions are the first function to be shown.
When the quantity for detecting the first device type is not 1, illustrates there is multiple equipment type at this time, set due to multiple
There may be identical functions in the standby corresponding function of type, therefore, in order to avoid function repeats to show, need from being found
Function in, determine all mutually different functions be the first function to be shown.
Detailed, the first device type may include:
At least one of encoding device, decoding device, access control equipment or warning device.
Function possessed by encoding device generally has preview, playback, alarm and electronic map, wherein preview function refers to
After opening this function, i.e. video-previewing;After playback function refers to this function of unlatching, video can be played back;Warning function refers to
After opening this function, when there is the case where meeting alert if to occur, i.e. triggering alarm;Electronic map function, which refers to, opens this function
After energy, position of each monitoring point in map can be shown.
Function possessed by decoding device has video wall, wherein, can be each after wall function refers to this function of unlatching
Each monitoring device video collected is shown on display simultaneously.
Function possessed by access control equipment has access control, gate inhibition's real time monitoring and attendance, wherein door access control function is
Refer to after opening this function, the administration authority to each gate inhibition can be added;It, can after gate inhibition's real-time monitoring and control refers to this function of unlatching
Each gate inhibition is controlled to open or close;After attendance checking function refers to open function, attendance rule etc. is perhaps set in recordable attendance.
Function possessed by warning device has display Realtime Alerts and alarm host machine, wherein shows that real time alarm function is
Refer to after opening this function, the type of alarm in settable alarm defence area and each defence area can also look at processed alarm signal
Breath and untreated warning message;After alarm host machine function refers to this function of unlatching, the monitoring picture in each alarm defence area can be checked
Face.
S103: the first function to be shown is shown in target electronic device.
After the first function to be shown has been determined, the first function to be shown can be shown in target electronic device.
It is detailed, it can be in the function to be shown of control panel interface display first of destination application, wherein target is answered
It is in target electronic device for managing the application program of electronic equipment added by electronic equipment with program.
In the embodiment of the present invention, determining the first equipment class with the first electronic equipment of target electronic device communication connection
Type determines the first function to be shown according to the first device type, and the first function to be shown is shown in target electronic device.This
In inventive embodiments, by way of determining the first function to be shown according to the first device type, shown in target electronic device
Show function relevant to the first device type, since the first device type is electric with the first of target electronic device communication connection
The device type of sub- equipment, so that shown function is no longer all devices type that can be communicated to connect with target electronic device
Function, meet the demand of user, optimize user experience.
Method shown in Fig. 2 is described in detail below by a specific embodiment:
Such as: assuming that target electronic device is computer, the electronic equipment connecting with compunlcation is camera, camera
Device type is encoding device, and the corresponding function of encoding device is preview, playback, alarm and electronic map;
The first device type for then determining the camera connecting with compunlcation is encoding device;
According to encoding device, the first function to be shown is determined are as follows: preview, playback, alarm and electronic map;
As shown in figure 5, the first function to be shown: preview, playback, alarm and electronic map is shown in computer, in Fig. 5
Editor's common function is a common option, is not belonging to the first function to be shown.
On the basis of method shown in Fig. 2, as shown in fig. 6, a kind of function displaying method provided in an embodiment of the present invention,
After step S103, can also include:
S104: when detecting the second electronic equipment with target electronic device communication connection, the second electronic equipment is determined
The second device type.
In the case where the first function to be shown has been displayed in target electronic device, it is possible to can have new access target electricity
The electronic equipment of sub- equipment, at this time, it may be necessary to the display function in target electronic device again, therefore, when detecting and target electricity
When the second electronic equipment of sub- equipment communication connection, it is thus necessary to determine that the second device type of the second electronic equipment, i.e. determination newly connect
The device type of the electronic equipment entered.
S105: the corresponding function of the second device type is determined.
In order to determine function to display, after the second device type has been determined, determine that the second device type is corresponding
Function.
It is detailed, determine the corresponding function of the second device type, can according to the second device type, from what is pre-established
Function corresponding with the second device type is searched in database, the function of being found is the corresponding function of the second device type
Energy.
S106: from identified function and the first function to be shown, determine all mutually different functions be second to
Display function.
It is corresponding if it is only the second device type of simple superposition after the corresponding function of the second device type has been determined
Function and and the first function to be shown for having been displayed, and the function being superimposed is determined as the second function to be shown, then in mesh
It is shown in mark electronic equipment, it would be possible to same function be caused to repeat to show.
Such as: assuming that the first function to be shown having been displayed is h and i, the corresponding function of the second device type is m and i;
Simply function h and i and m and i is superimposed, i.e., using function h, i, m and i as the second function to be shown, if this
When in target electronic device show the second function to be shown, then generate display two function i the case where.
Therefore, it in order to avoid function repeats to show, needs to determine institute from identified function and the first function to be shown
Having mutually different function is the second function to be shown.
Such as: above-mentioned example is accepted, due to the function i and the corresponding function of the second device type in the first function to be shown
In function i be identical function, therefore, in identified function and the first function to be shown, all mutually different functions
For function h, i and m, then, using function h, i and m as the second function to be shown.
The repetition for avoiding function as a result, is shown.
S107: the second function to be shown is shown in target electronic device.
After the second function to be shown has been determined, the second function to be shown can be shown in target electronic device.
In the case where the first function to be shown has been displayed in target electronic device as a result, when existing, new access target is electric
When the second electronic equipment of sub- equipment, the second function to be shown is shown in target electronic device again by way of duplicate removal,
Achieve the purpose that not only Overlapping display function but also does not repeat display function.
Method shown in Fig. 5 is described in detail below by a specific embodiment:
Such as: assuming that the first device type is encoding device, the first function to be shown is preview, playback, alarm and electronics
Map, the device type of the second electronic equipment are decoding device, and the corresponding function of decoding device is electronic wall;
Referring to Fig. 5, the first function to be shown: preview, playback, alarm and electronic map is shown in target electronic device;
When detecting the second electronic equipment with target electronic device communication connection, the equipment that determines the second electronic equipment
Type is decoding device;
Determine the corresponding function of decoding device: electronic wall;
From identified function and the first function to be shown, all mutually different functions: preview, playback, report are determined
Alert, electronic map and electronic wall, i.e. preview, playback, alarm, electronic map and electronic wall are the second function to be shown;
As shown in fig. 7, showing the second function to be shown: preview, playback, alarm, electronic map in target electronic device
And electronic wall, editor's common function in Fig. 7 is a common option, is not belonging to the second function to be shown.
Relative to above method embodiment, as shown in figure 8, the embodiment of the invention also provides a kind of function display,
The apparatus may include:
First device type determining module 201, for determining the first electronics with target electronic device communication connection
First device type of equipment;
First function determining module 202 to be shown, for determining the first function to be shown according to first device type
Energy;
First display module 203, for showing the described first function to be shown in the target electronic device.
In the embodiment of the present invention, determining the first equipment class with the first electronic equipment of target electronic device communication connection
Type determines the first function to be shown according to the first device type, and the first function to be shown is shown in target electronic device.This
In inventive embodiments, by way of determining the first function to be shown according to the first device type, shown in target electronic device
Show function relevant to the first device type, since the first device type is electric with the first of target electronic device communication connection
The device type of sub- equipment, so that shown function is no longer all devices type that can be communicated to connect with target electronic device
Function, meet the demand of user, optimize user experience.
In a kind of implementation of the invention, the first device type determining module 201 may include:
Transmission unit obtains information to the first electricity with target electronic device communication connection for transmission device types
Sub- equipment;
Receiving unit, for receiving the first device type of the first electronic equipment feedback.
In a kind of implementation of the invention, the first function determining module 202 to be shown may include:
Searching unit, for being searched and described first from the database pre-established according to first device type
The corresponding function of device type, wherein the corresponding relationship of device type and function is stored in the database pre-established;
Detection unit, whether the quantity for detecting first device type is 1, if so, triggering first determines list
Member, if not, the second determination unit of triggering;
First determination unit, for the function of being found to be determined as the first function to be shown;
Second determination unit, for from the function of being found, determining that all mutually different functions are first
Function to be shown.
In a kind of implementation of the invention, described device can also include:
Second device type determining module, for shown in the target electronic device the described first function to be shown it
Afterwards, when detecting the second electronic equipment with target electronic device communication connection, second electronic equipment is determined
Second device type;
Function determining module, for determining the corresponding function of second device type;
Second function determining module to be shown, for determining from identified function and first function to be shown
All mutually different functions are the second function to be shown;
Second display module, for showing the described second function to be shown in the target electronic device.
In a kind of implementation of the invention, first device type may include:
At least one of encoding device, decoding device, access control equipment or warning device.
The embodiment of the invention also provides a kind of electronic equipment, as shown in figure 9, the electronic equipment includes processor 901
With memory 902, wherein the memory 902, for storing computer program;The processor 901, it is described for executing
The program stored on memory 902 realizes following steps:
Determining the first device type with the first electronic equipment of target electronic device communication connection;
According to first device type, the first function to be shown is determined;
The described first function to be shown is shown in the target electronic device.
It should be noted that target electronic device is electronic equipment shown in Fig. 9.
In the embodiment of the present invention, determining the first equipment class with the first electronic equipment of target electronic device communication connection
Type determines the first function to be shown according to the first device type, and the first function to be shown is shown in target electronic device.This
In inventive embodiments, by way of determining the first function to be shown according to the first device type, shown in target electronic device
Show function relevant to the first device type, since the first device type is electric with the first of target electronic device communication connection
The device type of sub- equipment, so that shown function is no longer all devices type that can be communicated to connect with target electronic device
Function, meet the demand of user, optimize user experience.
In a kind of implementation of the invention, the first electronic equipment of the determination and target electronic device communication connection
The first device type the step of, may include:
Transmission device types obtain information to the first electronic equipment with target electronic device communication connection;
Receive the first device type with the first electronic equipment feedback of target electronic device communication connection.
It is described according to first device type in a kind of implementation of the invention, determine the first function to be shown
The step of, may include:
According to first device type, searched from the database pre-established corresponding with first device type
Function, wherein the corresponding relationship of device type and function is stored in the database pre-established;
Whether the quantity for detecting first device type is 1;
If so, the function of being found is determined as the first function to be shown;
If not, determining that all mutually different functions are the first function to be shown from the function of being found.
In a kind of implementation of the invention, show that described first is to be shown in the target electronic device described
After the step of function, the method can also include:
When detecting the second electronic equipment with target electronic device communication connection, determine that second electronics is set
The second standby device type;
Determine the corresponding function of second device type;
From identified function and first function to be shown, determine that all mutually different functions are second to aobvious
Show function;
The described second function to be shown is shown in the target electronic device.
In a kind of implementation of the invention, first device type may include:
At least one of encoding device, decoding device, access control equipment or warning device.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just
It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (RandomZAccess Memory, RAM), also may include non-easy
The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also
To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete
Door or transistor logic, discrete hardware components.
A kind of computer readable storage medium is stored with computer program, the computer program in the storage medium
Following steps are realized when being executed by processor:
Determining the first device type with the first electronic equipment of target electronic device communication connection;
According to first device type, the first function to be shown is determined;
The described first function to be shown is shown in the target electronic device.
In the embodiment of the present invention, determining the first equipment class with the first electronic equipment of target electronic device communication connection
Type determines the first function to be shown according to the first device type, and the first function to be shown is shown in target electronic device.This
In inventive embodiments, by way of determining the first function to be shown according to the first device type, shown in target electronic device
Show function relevant to the first device type, since the first device type is electric with the first of target electronic device communication connection
The device type of sub- equipment, so that shown function is no longer all devices type that can be communicated to connect with target electronic device
Function, meet the demand of user, optimize user experience.
In a kind of implementation of the invention, the first electronic equipment of the determination and target electronic device communication connection
The first device type the step of, may include:
Transmission device types obtain information to the first electronic equipment with target electronic device communication connection;
Receive the first device type with the first electronic equipment feedback of target electronic device communication connection.
It is described according to first device type in a kind of implementation of the invention, determine the first function to be shown
The step of, may include:
According to first device type, searched from the database pre-established corresponding with first device type
Function, wherein the corresponding relationship of device type and function is stored in the database pre-established;
Whether the quantity for detecting first device type is 1;
If so, the function of being found is determined as the first function to be shown;
If not, determining that all mutually different functions are the first function to be shown from the function of being found.
In a kind of implementation of the invention, show that described first is to be shown in the target electronic device described
After the step of function, the method can also include:
When detecting the second electronic equipment with target electronic device communication connection, determine that second electronics is set
The second standby device type;
Determine the corresponding function of second device type;
From identified function and first function to be shown, determine that all mutually different functions are second to aobvious
Show function;
The described second function to be shown is shown in the target electronic device.
In a kind of implementation of the invention, first device type may include:
At least one of encoding device, decoding device, access control equipment or warning device.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for Fig. 8 institute
For the function display embodiment, electronic equipment embodiment shown in Fig. 9 and the computer readable storage medium that show, due to
It is substantially similar to function displaying method embodiment shown in Fig. 2, so be described relatively simple, related place institute referring to fig. 2
The part for the function displaying method embodiment shown illustrates.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (12)
1. a kind of function displaying method, which is characterized in that be applied to target electronic device, which comprises
Determining the first device type with the first electronic equipment of target electronic device communication connection;
According to first device type, the first function to be shown is determined;
The described first function to be shown is shown in the target electronic device.
2. the method according to claim 1, wherein what the determination and the target electronic device communicated to connect
The step of first device type of the first electronic equipment, comprising:
Transmission device types obtain information to the first electronic equipment with target electronic device communication connection;
Receive the first device type of the first electronic equipment feedback.
3. the method according to claim 1, wherein described according to first device type, determine first to
The step of display function, comprising:
According to first device type, function corresponding with first device type is searched from the database pre-established
It can, wherein the corresponding relationship of device type and function is stored in the database pre-established;
Whether the quantity for detecting first device type is 1;
If so, the function of being found is determined as the first function to be shown;
If not, determining that all mutually different functions are the first function to be shown from the function of being found.
4. the method according to claim 1, wherein being shown in the target electronic device described first to aobvious
After the step of showing function, the method also includes:
When detecting the second electronic equipment with target electronic device communication connection, second electronic equipment is determined
Second device type;
Determine the corresponding function of second device type;
From identified function and first function to be shown, determine that all mutually different functions are the second function to be shown
Energy;
The described second function to be shown is shown in the target electronic device.
5. the method according to claim 1, wherein first device type includes:
At least one of encoding device, decoding device, access control equipment or warning device.
6. a kind of function display, which is characterized in that be applied to target electronic device, described device includes:
First device type determining module, for determining the with the first electronic equipment of target electronic device communication connection
One device type;
First function determining module to be shown, for determining the first function to be shown according to first device type;
First display module, for showing the described first function to be shown in the target electronic device.
7. device according to claim 6, which is characterized in that the first device type determining module, comprising:
Transmission unit obtains information to the first electronics with target electronic device communication connection for transmission device types and sets
It is standby;
Receiving unit, for receiving the first device type of the first electronic equipment feedback.
8. device according to claim 6, which is characterized in that the first function determining module to be shown, comprising:
Searching unit, for being searched and first equipment from the database pre-established according to first device type
The corresponding function of type, wherein the corresponding relationship of device type and function is stored in the database pre-established;
Detection unit, whether the quantity for detecting first device type is 1, if so, the first determination unit of triggering, such as
Fruit is no, triggers the second determination unit;
First determination unit, for the function of being found to be determined as the first function to be shown;
Second determination unit, for from the function of being found, determining that all mutually different functions are first to aobvious
Show function.
9. device according to claim 6, which is characterized in that described device further include:
Second device type determining module, after showing the described first function to be shown in the target electronic device,
When detecting the second electronic equipment with target electronic device communication connection, the second of second electronic equipment is determined
Device type;
Function determining module, for determining the corresponding function of second device type;
Second function determining module to be shown, it is all for determining from identified function and first function to be shown
Mutually different function is the second function to be shown;
Second display module, for showing the described second function to be shown in the target electronic device.
10. device according to claim 6, which is characterized in that first device type includes:
At least one of encoding device, decoding device, access control equipment or warning device.
11. a kind of electronic equipment, which is characterized in that including processor and memory, wherein the memory, based on storing
Calculation machine program;The processor realizes that claim 1-5 is any described for executing the program stored on the memory
Method and step.
12. a kind of computer readable storage medium, which is characterized in that computer program is stored in the storage medium, it is described
Claim 1-5 any method and step is realized when computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710706847.5A CN109413370B (en) | 2017-08-17 | 2017-08-17 | Function display method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710706847.5A CN109413370B (en) | 2017-08-17 | 2017-08-17 | Function display method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109413370A true CN109413370A (en) | 2019-03-01 |
CN109413370B CN109413370B (en) | 2021-01-15 |
Family
ID=65454930
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710706847.5A Active CN109413370B (en) | 2017-08-17 | 2017-08-17 | Function display method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109413370B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114296715A (en) * | 2021-11-16 | 2022-04-08 | 深圳海星智驾科技有限公司 | Intelligent control method and device for construction machinery and equipment, and construction machinery and equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1540533A (en) * | 2003-04-25 | 2004-10-27 | ������������ʽ���� | Information processor informaton processing method and control program thereof |
CN101729672A (en) * | 2009-11-10 | 2010-06-09 | 中兴通讯股份有限公司 | Management method and system of multifunction mobile equipment |
CN101896008A (en) * | 2009-05-20 | 2010-11-24 | 仁宝电脑工业股份有限公司 | Method for managing wireless communication module function and user interface device |
CN103761203A (en) * | 2013-11-29 | 2014-04-30 | 北京中启智源数字信息技术有限责任公司 | General connection method for different types of hardware equipment |
US20140226951A1 (en) * | 2013-02-12 | 2014-08-14 | Honeywell International Inc. | System and Method of Alarm and History Video Playback |
JP2016181120A (en) * | 2015-03-24 | 2016-10-13 | シャープ株式会社 | Information processing device and image formation device |
-
2017
- 2017-08-17 CN CN201710706847.5A patent/CN109413370B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1540533A (en) * | 2003-04-25 | 2004-10-27 | ������������ʽ���� | Information processor informaton processing method and control program thereof |
CN101896008A (en) * | 2009-05-20 | 2010-11-24 | 仁宝电脑工业股份有限公司 | Method for managing wireless communication module function and user interface device |
CN101729672A (en) * | 2009-11-10 | 2010-06-09 | 中兴通讯股份有限公司 | Management method and system of multifunction mobile equipment |
US20140226951A1 (en) * | 2013-02-12 | 2014-08-14 | Honeywell International Inc. | System and Method of Alarm and History Video Playback |
CN103761203A (en) * | 2013-11-29 | 2014-04-30 | 北京中启智源数字信息技术有限责任公司 | General connection method for different types of hardware equipment |
JP2016181120A (en) * | 2015-03-24 | 2016-10-13 | シャープ株式会社 | Information processing device and image formation device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114296715A (en) * | 2021-11-16 | 2022-04-08 | 深圳海星智驾科技有限公司 | Intelligent control method and device for construction machinery and equipment, and construction machinery and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109413370B (en) | 2021-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110213068B (en) | Message middleware monitoring method and related equipment | |
CN110209386B (en) | Method for setting buried point of data, method and device for acquiring buried point data | |
US10860595B2 (en) | User social-relationship identification apparatus, method, and terminal device | |
CN103680083B (en) | Event is notified | |
CN109086182B (en) | Automatic database alarming method and terminal equipment | |
CN104202201A (en) | Log processing method and device and terminal | |
CN104253741A (en) | Information sending method and device and system thereof | |
CN104579830A (en) | Service monitoring method and device | |
CN103701665A (en) | Line connection error detecting method and device | |
CN109151059A (en) | A kind of file uploading method, device, electronic equipment and storage medium | |
CN108830562B (en) | Attendance card punching method and related equipment | |
CN104850971A (en) | Correlation method between order information and logistics information, and device thereof | |
CN110933152B (en) | Preheating method, device and system and electronic equipment | |
CN109002253A (en) | A kind of processing method and processing device for damaging band | |
CN109413370A (en) | A kind of function displaying method, device, electronic equipment and storage medium | |
CN107357619A (en) | Method, device, equipment and storage medium for generating card configuration file | |
US20160117524A1 (en) | Enhanced view compliance tool | |
CN112413826B (en) | Device configuration method and device, electronic device and storage medium | |
CN109240747A (en) | A kind of information inspection method and its relevant apparatus of multistage server management system | |
JP2011107754A (en) | Plant-monitoring control system | |
CN109951473B (en) | Function triggering method, system, electronic device and computer readable storage medium | |
CN108811085A (en) | A kind of paging method and device | |
CN109818851A (en) | A kind of information persistence method, device and electronic equipment | |
CN110351719A (en) | A kind of wireless network management method, system and electronic equipment and storage medium | |
CN113010587B (en) | Data source configuration method, device, terminal, server and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |