CN109688134A - Method for exhibiting data and device - Google Patents

Method for exhibiting data and device Download PDF

Info

Publication number
CN109688134A
CN109688134A CN201811608729.1A CN201811608729A CN109688134A CN 109688134 A CN109688134 A CN 109688134A CN 201811608729 A CN201811608729 A CN 201811608729A CN 109688134 A CN109688134 A CN 109688134A
Authority
CN
China
Prior art keywords
identifier information
switching command
display devices
target display
target
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
Application number
CN201811608729.1A
Other languages
Chinese (zh)
Other versions
CN109688134B (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.)
Multipoint Life (chengdu) Technology Co Ltd
Original Assignee
Multipoint Life (chengdu) 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 Multipoint Life (chengdu) Technology Co Ltd filed Critical Multipoint Life (chengdu) Technology Co Ltd
Priority to CN201811608729.1A priority Critical patent/CN109688134B/en
Publication of CN109688134A publication Critical patent/CN109688134A/en
Application granted granted Critical
Publication of CN109688134B publication Critical patent/CN109688134B/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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/28Constructional details of speech recognition systems
    • G10L15/30Distributed recognition, e.g. in client-server systems, for mobile phones or network applications
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present embodiments relate to technical field of data processing, specifically, it is related to a kind of method for exhibiting data and device, wherein, server-side, which can parse, obtains the switching command for including in the request message that terminal device is sent and first identifier information, and the legitimacy of request message is judged based on switching command and first identifier information, then make target display devices according to switching command and first identifier acquisition of information target string, and make target display devices that target string is loaded as page data, then it is rendered and is shown, so, it can be realized to the efficient of given display device, accurate and intelligence switching, and then it is extended to the switching to multiple display equipment.

Description

Method for exhibiting data and device
Technical field
The present embodiments relate to technical field of data processing, in particular to a kind of method for exhibiting data and device.
Background technique
With development in science and technology, present internet industry comes into big data era, and the acquisition and calculating of data can be Various industries provide Operation Decision, wherein data, which are shown, is used as last one of link, most can intuitively be presented on data certainly In face of plan personnel, therefore data show that this link is particularly important, and data, which are shown, is also known as " multimedia war room ", more matchmakers Body war room refers to the space for being shown a variety of data sheet results on multiple integrated data large-size screen monitors.
At the same time, decision-maker needs that certain specific datas are observed and are compared, to reach the mesh of high-speed decision , therefore, it is necessary to carry out efficient, accurate and intelligent switching to multiple integrated data large-size screen monitors to realize the displaying of data.But The prior art is difficult to carry out efficient, accurate and intelligent switching to multiple integrated data large-size screen monitors.
Summary of the invention
In view of this, the present invention provides a kind of method for exhibiting data and devices.
The embodiment of the invention provides a kind of method for exhibiting data, it is applied to logical with terminal device and multiple display equipment Believe that the server-side of connection, the server-side prestore the identification information of each display equipment, which comprises
Receive the request message that the terminal device is sent, parsing obtain the switching command for including in the request message and First identifier information;
Judge with the presence or absence of the switching command in preset instructions library, if there are the switchings to refer in the preset instructions library It enables, judges with the presence or absence of second identifier information identical with the first identifier information in the multiple identification informations prestored, if in advance There is second identifier information identical with the first identifier information in the multiple identification informations deposited, by the second identifier information Corresponding display equipment is sent to the target as target display devices, by the switching command and the first identifier information Show equipment;
So that the target display devices is received the switching command and the first identifier information, shows the target and set Whether the first identifier information and the second identifier information that standby judgement receives identical, if the first identifier information received and The second identifier information is identical, and the target display devices is made to obtain target string according to the switching command received, will The target string is loaded as page data, and the page data is rendered and shown.
Optionally, the method also includes:
By there are the judgement result of the switching command and the multiple marks letters prestored in the preset instructions library There are the judgement results of the second identifier information to be back to the terminal device in breath.
Optionally, the method also includes:
If the switching command is not present in the preset instructions library, the request message is abandoned.
Optionally, the method also includes:
If second identifier information identical with the first identifier information is not present in the multiple identification informations prestored, The request message is determined as invalid packet and is abandoned.
Optionally, the method also includes:
It if the first identifier information received and the second identifier information is not identical, connect the target display devices will The first identifier information and switching command received abandons.
Optionally, the step of switching command and the first identifier information being sent to the target display devices, Include:
The switching command and the first identifier information are converted into setting text information, by the setting text information To the target display devices.
Optionally, the step of making the target display devices receive the switching command and the first identifier information, packet It includes:
The target display devices are made to receive the setting text information;
Make the target display devices load setting script, the target display devices is made to pass through the setting script from institute It states in setting text information and extracts switching command and first identifier information.
Optionally, the step of making the target display devices that the target string is loaded as page data, comprising:
Make the target display devices that the target string are loaded as page data by the setting script.
Optionally, before the step of judging in preset instructions library with the presence or absence of the switching command, the method also includes:
Judge whether the switching command is voice messaging;
If the switching command is voice messaging, the voice messaging is converted into text information.
The embodiment of the invention also provides a kind of data to show device, is applied to and terminal device and multiple display equipment The server-side of communication connection, the server-side prestore the identification information of each display equipment, and described device includes:
Request message receiving module, the request message sent for receiving the terminal device, parsing obtain the request The switching command and first identifier information for including in message;
Request message forwarding module, for judging with the presence or absence of the switching command in preset instructions library, if described default There are the switching command in instruction database, judge to whether there is and the first identifier information phase in the multiple identification informations prestored Same second identifier information is believed if there is second identifier identical with the first identifier information in the multiple identification informations prestored Breath, using the corresponding display equipment of the second identifier information as target display devices, by the switching command and described first Identification information is sent to the target display devices;
Request message execution module, for making the target display devices receive the switching command and the first identifier Information, whether the first identifier information and the second identifier information for receiving the target display devices judgement are identical, if The first identifier information received is identical as the second identifier information, makes the target display devices according to the switching received Instruction obtains target string, and the target string is loaded as page data, the page data is rendered and opened up Show.
The embodiment of the invention also provides a kind of server-side, including memory, processor and storage are on a memory simultaneously The computer program that can be run on a processor, the processor realize that above-mentioned data are shown when executing the computer program Method.
The embodiment of the invention also provides a kind of computer readable storage medium, the readable storage medium storing program for executing includes computer Program, the server-side computer program controls the readable storage medium storing program for executing when running where execute above-mentioned data displaying side Method.
Beneficial effect
Method for exhibiting data and device provided in an embodiment of the present invention, server-side, which can parse, obtains what terminal device was sent The switching command and first identifier information for including in request message, and based on switching command and first identifier information to request message Legitimacy judged, then make target display devices according to switching command and first identifier acquisition of information target string, And make target display devices that target string is loaded as page data, it is then rendered and is shown, so, it is possible realization pair Efficient, the accurate and intelligence switching of given display device, and then it is extended to the switching to multiple display equipment.
Further, server-side can be identified terminal device with the switching command that voice messaging is sent, by voice Information is converted to text information, improves the resolution of switching command, so that the identification of switching command is more efficiently and intelligent.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of block diagram of server-side provided by the embodiment of the present invention.
Fig. 2 is a kind of structural schematic diagram of data display systems provided by the embodiment of the present invention.
Fig. 3 is a kind of flow chart of method for exhibiting data provided by the embodiment of the present invention.
Fig. 4 is a kind of module frame chart of data displaying device provided by the embodiment of the present invention.
Icon:
10- server-side;11- memory;12- processor;13- network module;
20- data show device;21- request message receiving module;22- request message forwarding module;23- request message is held Row module;
30- terminal device;
40- shows equipment.
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 only It is a part of the embodiments of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings The component of embodiment can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiments of the present invention, this field is common Technical staff's every other embodiment obtained without creative efforts belongs to the model that the present invention protects It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
Inventor further investigation reveals that, it is efficient, accurate and intelligent that traditional technology is difficult to carry out multiple integrated data large-size screen monitors Switching.For example, common large-size screen monitors switching method is applied to intelligent appliance field mostly and switches over just for single screen.Example again Such as, it to the switching of the multiple integrated data large-size screen monitors of progress, can be realized by infrared signal, but this method can increase greatly The cost of manufacture of media medium is added, also this kind of multimedia medium can be made to receive hardware limitation, it is difficult to meet multimedia medium Diversity, and this mode is likely to occur deviation in infrared signal transmission process, it is difficult to it is efficient, accurate and intelligent to realize Multi-screen switching.
Defect present in the above scheme in the prior art, is that inventor is obtaining after practicing and carefully studying As a result, therefore, the solution that the discovery procedure of the above problem and the hereinafter embodiment of the present invention are proposed regarding to the issue above Scheme all should be the contribution that inventor makes the present invention in process of the present invention.
Based on the studies above, the embodiment of the invention provides a kind of method for exhibiting data and device, can be realized to specified It shows the efficient, accurate of equipment and intelligence switching, and then is extended to the switching to multiple display equipment.
Fig. 1 shows a kind of block diagram of server-side 10 provided by the embodiment of the present invention.In the embodiment of the present invention Server-side 10 have data storage, transmission, processing function, as shown in Figure 1, server-side 10 includes: memory 11, processor 12, network module 13 and data show device 20.
It is directly or indirectly electrically connected between memory 11, processor 12 and network module 13, to realize the biography of data Defeated or interaction.It is electrically connected for example, these elements can be realized from each other by one or more communication bus or signal wire. It is stored with data in memory 11 and shows device 20, the data show that device 20 can be with software or firmware including at least one (firmware) form is stored in the software function module in the memory 11, and the processor 12 is stored in by operation Data in software program and module, such as the embodiment of the present invention in memory 11 show device 20, thereby executing various Functional application and data processing, i.e. method for exhibiting data in the realization embodiment of the present invention.
Wherein, the memory 11 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc.. Wherein, memory 11 is for storing program, and the processor 12 executes described program after receiving and executing instruction.
The processor 12 may be a kind of IC chip, the processing capacity with data.Above-mentioned processor 12 It can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc..It may be implemented or execute each method, step disclosed in the embodiment of the present invention and patrol Collect block diagram.General processor can be microprocessor or the processor is also possible to any conventional processor etc..
Network module 13 is used to establish the communication connection between server-side 10 and other communication terminal devices by network, real The transmitting-receiving operation of existing network signal and data.Above-mentioned network signal may include wireless signal or wire signal.
It is appreciated that structure shown in FIG. 1 is only to illustrate, server-side 10 may also include than shown in Fig. 1 more or more Few component, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can use hardware, software or its group It closes and realizes.
The embodiment of the present invention also provides a kind of computer readable storage medium, and the readable storage medium storing program for executing includes computer journey Sequence.Server-side 10 computer program controls the readable storage medium storing program for executing when running where executes following data displaying side Method.
Fig. 2 is please referred to, is a kind of structural block diagram of data display systems provided by the embodiment of the present invention, has figure can See, which includes server-side 10, terminal device 30 and multiple display equipment 40.
In the present embodiment, terminal device 30 can be central controller, such as mobile phone.Each display equipment 40 can be by one Large-size screen monitors and a local PC machine composition.
Further, server-side 10 and terminal device 30 are based on message queue telemetering transport protocol (Message Queuing Telemetry Transport, MQTT) establish communication connection.Wherein, MQTT agreement is a kind of based on publish/subscribe (publish/subscribe) " lightweight " communications protocol of mode, the protocol construction so, it is possible on ICP/IP protocol So that server-side 10 and the interaction of terminal device 30 become more stable.
Further, server-side 10 is also connect with each display equipment 40 based on WebSocket protocol communication.Wherein, WebSocket agreement is the new network protocol of one kind based on TCP, it realizes duplex communication, and server-side 10 is allowed actively to send out Message is sent to give display equipment 40.
Please continue to refer to Fig. 2, in this example it is shown that the quantity of equipment 40 can be six, wherein each display is set Standby 40 are provided with group sid and index mark g_index in advance, for example, group is the index mark of the display equipment 40 of sid1 There are g_index1, g_index2 and g_index3, group is that the index of the display equipment 40 of sid2 is identified with g_index4, g_ Index5 and g_index6.
Server-side 10 learns the region corresponding sid of each display equipment 40 by the Session in WebSocket agreement With g_index, in other words, server-side 10 is led to by the Session in WebSocket agreement with each display equipment 40 News, and show that equipment 40 needs to receive message by browser, this is also the technical requirements of WebSocket agreement.
Wherein, attribute and configuration information needed for Session refers to object storage specific user's session, Session are not One simple concept of time, it will be understood that include specific display equipment and server-side in each Session, for example, group For sid1, index is identified as the display equipment 40 of g_index1 and server-side 10 establish Session locating when communication connection and Group is sid1, and index is identified as locating when the display equipment 40 and the foundation communication connection of server-side 10 of g_index2 Session is different.It so, it is possible the efficiency of improve data transfer.
In other words, server-side 10 is stored with the group and index mark for each display equipment 40 for communicating connection, By taking the present embodiment as an example, server-side 10 store group be two (sid1 and sid2), index be identified as six (g_index1~ g_index6)。
Terminal device 30 can also obtain the group and index mark of each display equipment 40 in advance, convenient for multi-screen later Switching.
Fig. 3 shows a kind of flow chart of method for exhibiting data provided by the embodiment of the present invention.The method is related Method and step defined in process is applied to server-side 10, can be realized by the processor 12.It below will be to tool shown in Fig. 3 Body process is described in detail:
Step S21, receiving terminal apparatus send request message, parsing obtain request message in include switching command and First identifier information.
Firstly, user passes through 30 inputting switching command of terminal device and first identifier information, wherein first identifier information For the identification information of target display devices.
For example, as follows with the identification information of display equipment 40:
" sid1, g_index1 ", " sid2, g_index4 ";
" sid1, g_index2 ", " sid2, g_index5 ";
" sid1, g_index3 ", " sid2, g_index6 ";
The first identifier information of user's input can be " sid1, g_index1 ".
Terminal device 30 can be sent switching command and first identifier information in the form of request message by MQTT agreement To server-side 10.
Server-side 10 can parse request message, after the request message for receiving the transmission of terminal device 30 to obtain Obtain switching command and first identifier information " sid1, g_index1 ".
Optionally, the switching command of user's input can be text information, be also possible to voice messaging.
After obtaining switching command, server-side 10 can parse switching command, if switching command is text information, Then without translation, text information is directly sent to Baidu unit translation api interface, intention switching is carried out, identifies that movement refers to The address that enables and need to jump, if switching command is voice messaging, voice messaging first can be sent to Ali's cloud API by server-side 10 Interface carries out the conversion of voice and text, and the text being converted to then is sent to Baidu unit translation api interface, identification again Action command and the address that need to be jumped out.
Step S22 judges in preset instructions library with the presence or absence of switching command.
It is appreciated that multiple action commands and each action command can be stored in advance in the preset instructions library of server-side 10 Corresponding jump address, the purpose for executing this time judgement is in order to which whether the switching command for confirming that terminal device 30 is sent is effective Instruction.
When judging, the action command for needing will identify that and the address that need to be jumped each are moved with pre-stored Make instruction and corresponding jump address is matched one by one, i.e., whether there is switching command in lookup preset instructions library, if depositing Step S23 is being turned to, if it does not exist, is turning to step S24.
Step S23 judges in the multiple identification informations prestored with the presence or absence of second identifier identical with first identifier information Information.
Server-side 10 judges in the group prestored and index mark with the presence or absence of " sid1, g_index1 ", and if it exists, turn to Step S25 turns to step S26 if it does not exist.
Step S24 abandons the request message.
If switching command is not present in preset instructions library, the switching command for showing that terminal device 30 is sent is invalid, at this time will Server-side 10 can abandon request message (switching command+" sid1, g_index1 ").
Step S25, using the corresponding display equipment of second identifier information as target display devices, by switching command and first Identification information is sent to target display devices.
For example, group is sid1, the display equipment 40 that index is identified as g_index1 is target display devices, is serviced at this time End 10 can " sid1, g_index1 " be sent to the display equipment 40 by switching command and first identifier information.
Specifically, server-side 10 can by first identifier information " sid1, g_index1 ", the obtained action command of identification and The address that need to be jumped is spliced into corresponding JSON, that is, by first identifier information, identification obtained action command and need to jump Address conversion is setting text information, and setting text information is then sent to target display devices.
Optionally, the preceding processing result judged twice can also be returned to terminal device 30 by server-side 10, for example, returning The processing result returned may is that
1) " switching command is effective, and request message is legal ";
2) " switching command is invalid ";
3) " switching command is effective, and request message is illegal ".
The request message is determined as invalid packet and abandoned by step S26.
For example, more first identifier information be " sid4, g_index1 ", server-side 10 can decision request message (switching command+ " sid4, g_index1 ") it is invalid packet, request message can be abandoned at this time.
Step S27 makes target display devices receive switching command and first identifier information, connects target display devices judgement Whether the first identifier information received and second identifier information are identical.
It is appreciated that target display devices after receiving setting text information (JSON), can load setting script (JS Script), and referred to using the sid and g_index and movement set in script (JS script) extraction setting text information (JSON) The address that enables and need to jump.
Further, target display devices judge extract obtained sid and g_index whether the sid and g_ with itself Index is identical, if they are the same, turns to step S28, if not identical, turns to step S29.
Step S28 makes target display devices obtain target string according to the switching command received, by target string It is loaded as page data, page data is rendered and shown.
Target display devices can obtain target string from server-side 10 according to action command and the address that need to be jumped Content completes load content content to obtain page data, finally as content, and by setting script (JS script) Page data is rendered and shown.
It so, it is possible to realize that the orientation of display equipment 40 switches.Since display equipment 40 and server-side 10 pass through setting foot This (JS script) rendering interaction, so can efficiently, it is accurate, intelligently realize unaware switching at runtime large-size screen monitors.
Step S29 abandons target display devices by the first identifier information and switching command that receive.
If the sid and g_index that sid and g_index and the extraction of target display devices itself obtain be not identical, target is aobvious Show that equipment can abandon the first identifier information and switching command that receive.
It is appreciated that user experienced to 30 inputting switching command of terminal device and first identifier information to final displaying Judge three times, so, it is possible to guarantee that it is all accurate, reliable for switching every time, and server-side 10, terminal device 30 and display are set It is communicated to connect between standby 40 using different protocol realizations, ensure that the high efficiency and intelligence of large-size screen monitors switching.
It is appreciated that the local PC machine in display equipment 40 is shown in equipment 40 for interacting with server-side 10 Large-size screen monitors are shown for data.
The explanation of large-size screen monitors switching is carried out with concrete scene below:
1) scene one, single group switching, for data in decision group.
User is " me is helped to be switched to the operation data of shops A " by the voice messaging that terminal device 30 inputs, and defeated The first identifier information entered is sid1.
At this point, server-side 10 extracts movement (switching) by conversion, content (shops A), server-side 10 converts switching Specifically to act: cmd:go, and shops A be converted to the order of shops A, sell, information of honouring an agreement (wherein order, sell, page of honouring an agreement Face is configured to content page in advance), final server-side 10 will correspond to each index mark g_ under movement, content, media group sid Index is assembled, wherein which block number each index mark g_index specifically corresponds to according to need to be preset in advance, ultimately forms JSON Format string, example:
{"sid":"1","cmd":"go","pages":[{"g_index":1,"content":31},{"g_index": 2,"content":32},{"g_index":3,"content":33}]}。
And corresponding large-size screen monitors are presented below:
The corresponding large-size screen monitors of sid1, g_index1 show the order of shops A;
The corresponding large-size screen monitors of sid1, g_index2 show the sale of shops A;
The corresponding large-size screen monitors of sid1, g_index2 show the information of honouring an agreement of shops A.
2) scene two, multiple groups switching, are used for data between decision group and group.
User is " helping me to lower shops A and shops B operation data " by the voice messaging that terminal device 30 inputs, similarly Refinement acts (comparison), and content (shops A, shops B), comparison is changed to specific instruction by server-side: cmd:compare, Er Qiemen Shop A, shops B will become its shops place an order, sell, data of honouring an agreement, information above is finally assembled into json word with scene one Symbol string:
{"sid":"1","cmd":"compare","pages":[{"g_index":1,"content":31},{"g_ inde x":2,"content":32},{"g_index":3,"content":33}]},{"sid":"2","cmd":" compare","p ages":[{"g_index":4,"content":35},{"g_index":5,"content":36},{"g_ index":6,"co ntent":37}]}。
At this point, screens switch is as follows if first identifier information is sid1:
The corresponding large-size screen monitors of sid1, g_index1 are by showing that the order of shops A is switched to the order and shops B of displaying shops A Order;
The corresponding large-size screen monitors of sid1, g_index2 are by showing that the sale of shops A is switched to sale and the shops B of displaying shops A Sale;
The corresponding large-size screen monitors of sid1, g_index2 are by showing that the information of honouring an agreement of shops A is switched to the information of honouring an agreement of displaying shops A With the information of honouring an agreement of shops B.
3) scene three dock big data platform, provide accurate data in real time.
User is " searching similar commodity amount under lower shops A " by the voice messaging that terminal device 30 inputs, and is similarly mentioned Refining acts (looking for down), and content (the similar commodity of shops A), comparison is changed to specific instruction by server-side 10: cmd:find, and shops The similar commodity of A, can be connected to big data platform at this time.
Big data platform is built based on kafka+Storm+HDFS+Kudu+YARN+impala/HIVE, then based on big Data platform sub-project Juypter calculates to obtain similar commodity with the K-means clustering algorithm library of python, then writes data into Jump page ultimately generates JSON character string:
{"sid":"1","cmd":"find","pages":[{"g_index":1,"content":40}]}。
It so, it is possible so that data have real-time and accuracy.
Optionally, user can only select group when carrying out the selection of first identifier information by terminal device 30, It can also so, it is possible to guarantee that showed data have stronger relevance with group and index mark simultaneous selection.
Optionally, compared to the common technical solution for carrying out large-size screen monitors switching using infrared signal, the present embodiment can The medium supported terminal device 30 is extended, and then saves development cost.
On the basis of the above, as shown in figure 4, the embodiment of the invention provides a kind of data to show device 20, the data Show that device 20 includes: request message receiving module 21, request message forwarding module 22 and request message execution module 23.
Request message receiving module 21, the request message sent for receiving the terminal device, parses and asks described in obtaining Ask the switching command for including in message and first identifier information.
Since request message receiving module 21 is similar with the realization principle of step S21 in Fig. 3, do not say more herein It is bright.
Request message forwarding module 22, for judging with the presence or absence of the switching command in preset instructions library, if described pre- If judging to whether there is and the first identifier information in the multiple identification informations prestored there are the switching command in instruction database Identical second identifier information, if there is second identifier identical with the first identifier information in the multiple identification informations prestored Information, using the corresponding display equipment of the second identifier information as target display devices, by the switching command and described One identification information is sent to the target display devices.
Since request message forwarding module 22 is similar with step S22~realization principle of step S26 in Fig. 3, herein Do not illustrate more.
Request message execution module 23, for making the target display devices receive the switching command and first mark Know information, whether the first identifier information and the second identifier information for receiving the target display devices judgement are identical, If the first identifier information received is identical as the second identifier information, cut the target display devices according to what is received It changes instruction and obtains target string, the target string is loaded as page data, the page data is rendered simultaneously It shows.
Since request message execution module 23 is similar with step S27~realization principle of step S29 in Fig. 3, herein Do not illustrate more.
To sum up, method for exhibiting data and device provided by the embodiment of the present invention, provides that a set of to dynamically associate data big The method of screen, so that large-size screen monitors switching dynamic is associated, data have High relevancy, and various dimensions are set based on server-side, terminal The standby communication protocol between display equipment can be realized efficient, accurate and intelligent large-size screen monitors switching.
In several embodiments provided by the embodiment of the present invention, it should be understood that disclosed device and method, it can also To realize by another way.Device and method embodiment described above is only schematical, for example, in attached drawing Flow chart and block diagram show that the devices of multiple embodiments according to the present invention, method and computer program product are able to achieve Architecture, function and operation.In this regard, each box in flowchart or block diagram can represent module, a program A part of section or code, a part of the module, section or code include that one or more is patrolled for realizing defined Collect the executable instruction of function.It should also be noted that in some implementations as replacement, function marked in the box It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server-side 10 or the network equipment etc.) execute all or part of step of each embodiment the method for the present invention Suddenly.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), deposits at random The various media that can store program code such as access to memory (RAM, Random Access Memory), magnetic or disk. It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, article or equipment in there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of method for exhibiting data, which is characterized in that applied to what is communicated to connect with terminal device and multiple display equipment Server-side, the server-side prestore the identification information of each display equipment, which comprises
The request message that the terminal device is sent is received, parsing obtains the switching command and first for including in the request message Identification information;
Judge in preset instructions library with the presence or absence of the switching command, if there are the switching command in the preset instructions library, Judge with the presence or absence of second identifier information identical with the first identifier information in the multiple identification informations prestored, if prestore There is second identifier information identical with the first identifier information in multiple identification informations, the second identifier information is corresponding Display equipment as target display devices, the switching command and the first identifier information are sent to the target and shown Equipment;
So that the target display devices is received the switching command and the first identifier information, sentences the target display devices Whether the first identifier information that disconnecting receives and the second identifier information identical, if the first identifier information received with it is described Second identifier information is identical, and the target display devices is made to obtain target string according to the switching command received, will be described Target string is loaded as page data, and the page data is rendered and shown.
2. method for exhibiting data according to claim 1, which is characterized in that the method also includes:
By there are in the judgement result of the switching command and the multiple identification informations prestored in the preset instructions library There are the judgement results of the second identifier information to be back to the terminal device.
3. method for exhibiting data according to claim 1, which is characterized in that the method also includes:
If the switching command is not present in the preset instructions library, the request message is abandoned.
4. method for exhibiting data according to claim 1, which is characterized in that the method also includes:
If second identifier information identical with the first identifier information is not present in the multiple identification informations prestored, by institute Request message is stated to be determined as invalid packet and abandon.
5. method for exhibiting data according to claim 1, which is characterized in that the method also includes:
It if the first identifier information received and the second identifier information is not identical, receive the target display devices will First identifier information and switching command abandon.
6. method for exhibiting data according to claim 1, which is characterized in that by the switching command and the first identifier Information is sent to the step of target display devices, comprising:
The switching command and the first identifier information are converted into setting text information, by the setting text information to institute State target display devices.
7. method for exhibiting data according to claim 6, which is characterized in that make to cut described in the target display devices reception The step of changing instruction and the first identifier information, comprising:
The target display devices are made to receive the setting text information;
Make the target display devices load setting script, sets the target display devices from described by the setting script Determine to extract switching command and first identifier information in text information.
8. method for exhibiting data according to claim 7, which is characterized in that make the target display devices by the target Character string is loaded as the step of page data, comprising:
Make the target display devices that the target string are loaded as page data by the setting script.
9. method for exhibiting data according to claim 1, which is characterized in that judge in preset instructions library with the presence or absence of described Before the step of switching command, the method also includes:
Judge whether the switching command is voice messaging;
If the switching command is voice messaging, the voice messaging is converted into text information.
10. a kind of data show device, which is characterized in that applied to what is communicated to connect with terminal device and multiple display equipment Server-side, the server-side prestore the identification information of each display equipment, and described device includes:
Request message receiving module, the request message sent for receiving the terminal device, parsing obtain the request message In include switching command and first identifier information;
Request message forwarding module, for judging with the presence or absence of the switching command in preset instructions library, if the preset instructions There are the switching command in library, judge in the multiple identification informations prestored with the presence or absence of identical with the first identifier information Second identifier information, if there is second identifier information identical with the first identifier information in the multiple identification informations prestored, Using the corresponding display equipment of the second identifier information as target display devices, by the switching command and the first identifier Information is sent to the target display devices;
Request message execution module, for making the target display devices receive the switching command and first identifier letter Breath, whether the first identifier information and the second identifier information for receiving the target display devices judgement are identical, if connecing The first identifier information received is identical as the second identifier information, refers to the target display devices according to the switching received It enables and obtains target string, the target string is loaded as page data, the page data is rendered and shown.
CN201811608729.1A 2018-12-26 2018-12-26 Data display method and device Active CN109688134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811608729.1A CN109688134B (en) 2018-12-26 2018-12-26 Data display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811608729.1A CN109688134B (en) 2018-12-26 2018-12-26 Data display method and device

Publications (2)

Publication Number Publication Date
CN109688134A true CN109688134A (en) 2019-04-26
CN109688134B CN109688134B (en) 2022-04-01

Family

ID=66189961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811608729.1A Active CN109688134B (en) 2018-12-26 2018-12-26 Data display method and device

Country Status (1)

Country Link
CN (1) CN109688134B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110765375A (en) * 2019-10-22 2020-02-07 普信恒业科技发展(北京)有限公司 Page jump method, device and system
CN111124340A (en) * 2019-12-26 2020-05-08 武汉优聘科技有限公司 Control method and system for screen display content
CN111401959A (en) * 2020-03-18 2020-07-10 多点(深圳)数字科技有限公司 Risk group prediction method and device, computer equipment and storage medium
CN113076234A (en) * 2021-04-02 2021-07-06 多点(深圳)数字科技有限公司 HTML5 page real-time monitoring method
CN113742568A (en) * 2020-05-29 2021-12-03 多点(深圳)数字科技有限公司 Information display method, electronic device, and computer-readable medium
CN113742550A (en) * 2021-08-20 2021-12-03 广州市易工品科技有限公司 Data acquisition method, device and system based on browser

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1622619A (en) * 2004-12-24 2005-06-01 北京中星微电子有限公司 A multi-screen display method and device
CN101583011A (en) * 2009-05-27 2009-11-18 深圳华为通信技术有限公司 Video conference control method and system, video conference network equipment and conference places
CN104506626A (en) * 2014-12-25 2015-04-08 魅族科技(中国)有限公司 Content information transmission control method, server and terminal
US20150279307A1 (en) * 2014-03-26 2015-10-01 Seiko Epson Corporation Display device and control method for display device
CN105320107A (en) * 2015-02-15 2016-02-10 合肥惠科金扬科技有限公司 Method and system of controlling a plurality of display devices through HKC single device
CN108235100A (en) * 2016-12-14 2018-06-29 杭州海康威视数字技术股份有限公司 Multi-display method, apparatus and system
CN108415678A (en) * 2018-02-09 2018-08-17 广州新博庭网络信息科技股份有限公司 Multi-display method and Multi-screen display system
CN108597511A (en) * 2018-04-28 2018-09-28 深圳市敢为特种设备物联网技术有限公司 Information displaying method, control terminal based on Internet of Things and readable storage medium storing program for executing

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1622619A (en) * 2004-12-24 2005-06-01 北京中星微电子有限公司 A multi-screen display method and device
CN101583011A (en) * 2009-05-27 2009-11-18 深圳华为通信技术有限公司 Video conference control method and system, video conference network equipment and conference places
US20150279307A1 (en) * 2014-03-26 2015-10-01 Seiko Epson Corporation Display device and control method for display device
CN104506626A (en) * 2014-12-25 2015-04-08 魅族科技(中国)有限公司 Content information transmission control method, server and terminal
CN105320107A (en) * 2015-02-15 2016-02-10 合肥惠科金扬科技有限公司 Method and system of controlling a plurality of display devices through HKC single device
CN108235100A (en) * 2016-12-14 2018-06-29 杭州海康威视数字技术股份有限公司 Multi-display method, apparatus and system
CN108415678A (en) * 2018-02-09 2018-08-17 广州新博庭网络信息科技股份有限公司 Multi-display method and Multi-screen display system
CN108597511A (en) * 2018-04-28 2018-09-28 深圳市敢为特种设备物联网技术有限公司 Information displaying method, control terminal based on Internet of Things and readable storage medium storing program for executing

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110765375A (en) * 2019-10-22 2020-02-07 普信恒业科技发展(北京)有限公司 Page jump method, device and system
CN110765375B (en) * 2019-10-22 2022-08-02 普信恒业科技发展(北京)有限公司 Page jump method, device and system
CN111124340A (en) * 2019-12-26 2020-05-08 武汉优聘科技有限公司 Control method and system for screen display content
CN111401959A (en) * 2020-03-18 2020-07-10 多点(深圳)数字科技有限公司 Risk group prediction method and device, computer equipment and storage medium
CN111401959B (en) * 2020-03-18 2023-09-29 多点(深圳)数字科技有限公司 Risk group prediction method, apparatus, computer device and storage medium
CN113742568A (en) * 2020-05-29 2021-12-03 多点(深圳)数字科技有限公司 Information display method, electronic device, and computer-readable medium
CN113076234A (en) * 2021-04-02 2021-07-06 多点(深圳)数字科技有限公司 HTML5 page real-time monitoring method
CN113076234B (en) * 2021-04-02 2022-07-12 多点(深圳)数字科技有限公司 HTML5 page real-time monitoring method
CN113742550A (en) * 2021-08-20 2021-12-03 广州市易工品科技有限公司 Data acquisition method, device and system based on browser
CN113742550B (en) * 2021-08-20 2024-04-19 广州市易工品科技有限公司 Browser-based data acquisition method, device and system

Also Published As

Publication number Publication date
CN109688134B (en) 2022-04-01

Similar Documents

Publication Publication Date Title
CN109688134A (en) Method for exhibiting data and device
CN103915095B (en) The method of speech recognition, interactive device, server and system
US9984408B1 (en) Method, medium, and system for live video cooperative shopping
US9372885B2 (en) System and methods thereof for dynamically updating the contents of a folder on a device
CN103377652B (en) A kind of method, device and equipment for carrying out speech recognition
KR101944353B1 (en) Method and apparatus for providing chatbot builder user interface
CN108984650B (en) Computer-readable recording medium and computer device
JP7227320B2 (en) TRAFFIC DATA ANALYSIS METHOD, APPARATUS, DEVICE, VEHICLE, STORAGE MEDIUM AND PROGRAM
US9928282B2 (en) Method and apparatus for providing search results on a mobile terminal
CN103324406B (en) A kind of control method and a kind of controlled plant
CN105224554A (en) Search word is recommended to carry out method, system, server and the intelligent terminal searched for
CN102306171A (en) Method and equipment for providing network access suggestions and network search suggestions
CN103577415B (en) The method and apparatus of corresponding search configuration is applied for updating mobile search
CN110086658A (en) Interface switching method, device and computer readable storage medium
CN109379742A (en) A kind of cut-in method of WLAN, device and storage medium
CN104267974B (en) The call method and device of business interface
CN105302925A (en) Method and device for pushing voice search data
CN106486118B (en) Voice control method and device for application
CN110677506B (en) Network access method, device, computer equipment and storage medium
CN105592169B (en) Terminal identification method and device
CN109213782A (en) Configuration, display methods, device and the communication equipment of search interface
CN109345098A (en) A kind of task recommendation method, apparatus, server and storage medium
CN107643858A (en) A kind of information processing method, terminal and server
CN110519160A (en) Things-internet gateway multimode communication means, device and computer readable storage medium
CN115981798A (en) File analysis method and device, computer equipment and readable storage 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