CN114666641B - Dealer multi-scene television large-screen projection system and method - Google Patents
Dealer multi-scene television large-screen projection system and method Download PDFInfo
- Publication number
- CN114666641B CN114666641B CN202210572104.4A CN202210572104A CN114666641B CN 114666641 B CN114666641 B CN 114666641B CN 202210572104 A CN202210572104 A CN 202210572104A CN 114666641 B CN114666641 B CN 114666641B
- Authority
- CN
- China
- Prior art keywords
- backup
- size
- area
- subunit
- backup area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000012544 monitoring process Methods 0.000 claims description 80
- 230000011218 segmentation Effects 0.000 claims description 59
- 230000000712 assembly Effects 0.000 claims description 27
- 238000000429 assembly Methods 0.000 claims description 27
- 238000012546 transfer Methods 0.000 claims description 11
- 238000005266 casting Methods 0.000 claims description 6
- 230000003247 decreasing effect Effects 0.000 claims description 6
- 230000002457 bidirectional effect Effects 0.000 claims description 3
- 238000004891 communication Methods 0.000 claims description 3
- 238000009877 rendering Methods 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 claims description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000000750 progressive effect Effects 0.000 description 2
- 230000004308 accommodation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/161—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
- H04L69/162—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a dealer multi-scene television large-screen projection system and a method, which relate to the technical field of screen projection, wherein the size of a backup area of a small computer is divided into a plurality of backup domains, then the weight of each backup domain is configured, the backup domain with the highest weight value is backed up firstly, the rest backup domains are not backed up, then the backup domain with the highest weight value is divided into a plurality of backup sub-units in a variable mode based on the timing occurrence amount of each distinguishing number, and the sizes of the backup areas of the backup sub-units are unequal; in the process, the timing occurrence amount of each area number is variably monitored, so that whether each area number changes gradually or gradually is judged, and based on the change, the segmented backup sub-units are changed again, so that the message can be segmented and backed up more quickly and efficiently.
Description
Technical Field
The invention relates to the technical field of screen projection, in particular to a dealer multi-scene television large-screen projection system and method.
Background
With the rapid development of the internet technology, the screen projection technology is also widely developed, and after the user is authorized to project the screen on the display screen, the content watched on the mobile terminal can be projected on the display screen, so that the content triggered by the mobile terminal to be projected on the display screen can be watched.
At present, content display is often implemented on a large screen of a company by many enterprises and companies through a screen projection mode, but the screen projection mode needs the mobile terminal and the display screen to be in the same local area network, and when a user is not in the company, the mobile terminal and the display screen are not in the same local area network, so that screen projection cannot be achieved, and great inconvenience is brought.
Various messages are inevitably generated in the screen projection process, in order to achieve the purpose of tracing back up messages, a back-up terminal connected with a system is often introduced to perform back-up, in the prior art, the messages are generally backed up in the following mode, firstly, a message back-up area is divided to form a plurality of back-up units, and pointers and accommodation sizes of the back-up units are recorded; defining characteristic values for backup of each backup unit, recording the characteristic values for backup and the backup standard, and allocating the messages to be backed up to the related backup units by the backup standard only when the characteristic values for backup of the messages to be backed up are the same.
Then demodulating the message to be backed up, receiving the demodulated message to be backed up by an analysis component, adding the demodulated message to be backed up into a characteristic value for backup by the analysis component based on the property of the message to be backed up, synchronously grouping the message based on a corresponding backup standard, extracting the accommodating sizes of the backup units belonging to the same category one by one, selecting the backup standard and the accommodating size, distinguishing the repeated messages in the message to be backed up by a repeated message distinguishing method, then adding the unit numbers of corresponding pointers into the repeated messages, and finally backing up the messages in the corresponding backup units.
However, this prior art has the disadvantage that the step of adding the parsing component to the characteristic value for backup based on the property of the message to be backed up, and the step of configuring the backup standard and the characteristic value for backup are all matched through specific operations, and the purpose is difficult to achieve under the matching of the specific operations.
SUMMERY OF THE UTILITY MODEL
In order to solve the above technical problems, the present invention provides a dealer multi-scene television large screen projection system, which comprises
The mobile phone App is used for transmitting screen projection contents and a screen projection object creation request;
the television large screen is used for requesting a screen projection object and rendering and displaying screen projection content;
the application server App-server is used for establishing socket long connection with the mobile phone App and the television large screen through a TCP protocol, creating a screen-throwing object, creating a socket command based on the screen-throwing object, forwarding the socket command, and synchronously establishing a chat room chat-room based on the unique client identifier;
the chat rooms chat-room are used for executing message forwarding between the mobile phone App and the television large screen, synchronously transmitting the message to the backup terminal to execute backup, and the chat rooms chat-room are isolated from each other;
the backup terminal comprises a flash memory, a recording component, a weight configuration component and a variable segmentation component;
the flash memory is used for registering messages;
the recording component is used for regularly taking out the messages in the flash memory, grouping is carried out on the basis of the distinguishing numbers A and B created by the transmitter, and synchronously recording the timing occurrence quantity of the 2 distinguishing numbers, wherein the timing occurrence quantity is as follows: when the messages in the flash memory are taken out for one time in a timing manner, counting the number of the messages with the same distinguishing number in the messages taken out for one time respectively to serve as the timing occurrence quantity of the distinguishing number;
the weight configuration component is used for establishing a message backup area for backing up messages in the flash memory, equally dividing the message backup area into a plurality of backup domains based on the size of the backup area, and then configuring the weight of each backup domain;
the variable segmentation component is used for dividing the backup domain into 2 backup subunits with different sizes based on the timing occurrence quantity of the 2 distinguishing numbers, and the size of the backup area of the 2 backup subunits is configured based on the quotient of the timing occurrence quantity of the 2 distinguishing numbers; the variable segmentation component correspondingly configures a variable queue based on the quotient value of the timing occurrence quantity of each distinguished number, and sends the queue to the variable segmentation component;
variably monitoring the timing occurrence quantity of 2 distinguished numbers, judging whether the quotient value of the timing occurrence quantity of each distinguished number is within a preset range value or not, and operating more than 1 change component when the quotient value is not within the preset range value, wherein the change component is used for adjusting the size of the backup area of 2 backup subunits reconfigured by the variable segmentation component; when 1 or a plurality of changing assemblies are operated to adjust the size of the backup area of the 2 backup subunits reconfigured by the variable segmentation assembly, synchronously changing and backing up the backup to the queue in the variable segmentation assembly;
when 1 change component is operated, 1 monitoring component for monitoring the size of the backup area of the corresponding backup subunit is correspondingly activated, and the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, judging whether the size of the backup area of a backup subunit is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, and implementing variable adjustment on the size of the backup area of the backup subunit based on quotient values of timing occurrence amounts of 2 distinguishing numbers; if the size of the backup area of the backup subunit is smaller than the minimum value of the size of the backup area, the size of the residual area which is not available for the backup subunit is indicated to be available for configuration, and the size of the backup area of the backup subunit is not changed at the moment;
when a plurality of change assemblies are operated, a plurality of monitoring assemblies for monitoring the size of the backup area of the corresponding backup subunit are correspondingly activated, and the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, respectively judging whether the size of the backup area of 2 backup subunits is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, and then implementing variable adjustment on the size of the backup area of the backup subunit based on the quotient of the timing occurrence quantity of 2 distinguishing numbers; if the size of the backup area of the backup subunit is smaller than the lowest value of the size of the backup area, it indicates that the backup subunit has no available residual area for configuration, at this time, it is judged whether the corresponding distinguishing number of the backup subunit belongs to an increasing type or a gradually-reduced type, when the quotient of the timing occurrence of the distinguishing number A divided by the timing occurrence of the distinguishing number B is smaller than the quotient of the two after the last segmentation, the distinguishing number A is a gradually-reduced type, and the distinguishing number B is an increasing type; when the quotient of the timing occurrence quantity of the distinction number A divided by the timing occurrence quantity of the distinction number B is larger than the quotient of the timing occurrence quantity of the distinction number A and the timing occurrence quantity of the distinction number B after the last segmentation, the distinction number A is in an increasing type, and the distinction number B is in a decreasing type; when the data belongs to the gradual reduction type, the size of the backup area of the backup subunit is not changed; if the residual area size available for configuration of the other backup subunits is in the corresponding distribution queue, the size of the backup area of the backup subunit is increased; if not, the size of the backup area of the backup subunit is not changed.
The technical scheme of the invention is further defined as follows:
the system also comprises a variable monitoring component which is used for variably monitoring the timing occurrence quantity of the 2 distinguishing numbers, judging whether the quotient value of the timing occurrence quantity of each distinguishing number is within a preset range value or not, operating more than 1 change component when the quotient value is not within the preset range value, and adjusting the size of the backup area of each backup subunit to be reconfigured by the variable segmentation component by the change component.
The invention also provides a dealer multi-scene television large-screen projection method, which comprises the following steps
S1, establishing socket long connection between the mobile phone App and the television large screen and the application server App-server through a TCP protocol, and implementing bidirectional real-time communication through socket messages;
s2, the application server App-server constructs chat rooms chat-room based on the unique client identifier, then each chat room chat-room executes message forwarding between the mobile phone App and the television large screen, the chat rooms chat-room serving as the transfer party synchronously transfer the messages to the backup terminal for backup, and the chat rooms chat-room are isolated from each other;
s3, the mobile phone App requests an application server App-server to create a screen projection object;
s4, the app-server creates a socket command based on the screen projection object;
s5, the app-server forwards the socket command to all large television screens in the chat room chat-room;
s6, after receiving a socket command, the large television screen requests a screen-casting object, and finally renders and displays screen-casting content on the large television screen;
the method for backing up the message in the backup terminal in the step S2 includes the following steps:
step S2-1, the transmitting party transmits the message to the backup terminal and sends the message to the flash memory built in the backup terminal;
step S2-2, periodically extracting the messages in the flash memory, grouping the messages based on the difference numbers a and B created by the transfer party, and synchronously recording the timing occurrence amounts of the 2 difference numbers, wherein the timing occurrence amounts are: when the messages in the flash memory are taken out for one time in a timing manner, counting the number of the messages with the same distinguishing number in the messages taken out for one time respectively to serve as the timing occurrence quantity of the distinguishing number;
step S2-3, establishing a message backup area for backing up messages in a flash memory, equally dividing the message backup area into a plurality of backup domains based on the size of the backup area, and then configuring the weight of each backup domain;
step S2-4, based on the timing occurrence quantity of 2 distinguishing numbers, the backup domain is divided into 2 backup subunits with different sizes by the variable segmentation component, and the size of the backup area of the 2 backup subunits is configured based on the quotient of the timing occurrence quantity of the 2 distinguishing numbers; the variable splitting component correspondingly configures a variable queue based on the quotient value of the timing occurrence quantity of each distinguished number, and sends the queue to the variable splitting component;
variably monitoring the timing occurrence quantity of 2 distinguished numbers, judging whether the quotient value of the timing occurrence quantity of each distinguished number is within a preset range value or not, and operating more than 1 change component when the quotient value is not within the preset range value, wherein the change component is used for adjusting the size of the backup area of 2 backup subunits reconfigured by the variable segmentation component; when 1 or a plurality of change assemblies are operated to adjust the size of the backup area of the 2 backup subunits reconfigured by the variable segmentation assembly, synchronously changing and backing up the backup to a queue in the variable segmentation assembly;
when 1 change component is operated, 1 monitoring component for monitoring the size of the backup area of the corresponding backup subunit is correspondingly activated, and the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, judging whether the size of the backup area of a backup subunit is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, and implementing variable adjustment on the size of the backup area of the backup subunit based on quotient values of timing occurrence amounts of 2 distinguishing numbers; if the size of the backup area of the backup subunit is smaller than the minimum value of the size of the backup area, the size of the residual area which is not available for the backup subunit is indicated to be available for configuration, and the size of the backup area of the backup subunit is not changed at the moment;
when a plurality of change assemblies are operated, a plurality of monitoring assemblies for monitoring the size of the backup area of the corresponding backup subunit are correspondingly activated, and the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, respectively judging whether the size of the backup area of 2 backup subunits is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, and then implementing variable adjustment on the size of the backup area of the backup subunit based on the quotient of the timing occurrence quantity of 2 distinguishing numbers; if the size of the backup area of the backup subunit is smaller than the minimum value of the size of the backup area, the backup subunit has no available residual area size for configuration, at this time, whether the corresponding distinguishing number of the backup subunit belongs to the increasing type or the reducing type is judged, when the quotient of the timing occurrence quantity of the distinguishing number A divided by the timing occurrence quantity of the distinguishing number B is smaller than the quotient of the two types after the last segmentation, the distinguishing number A is the reducing type, and the distinguishing number B is the increasing type; when the quotient of the timing occurrence quantity of the distinction number A divided by the timing occurrence quantity of the distinction number B is larger than the quotient of the timing occurrence quantity of the distinction number A and the timing occurrence quantity of the distinction number B after the last segmentation, the distinction number A is in an increasing type, and the distinction number B is in a decreasing type; when the backup subunit belongs to the gradual reduction type, the size of the backup area of the backup subunit is not changed; if the residual area size available for configuration of the other backup subunits is in the corresponding distribution queue, the size of the backup area of the backup subunit is increased; if not, the size of the backup area of the backup sub-unit is not changed;
and step S2-5, backing up the grouped messages to corresponding backup subunits based on the corresponding distinguishing numbers.
Further, the monitoring component is further configured to monitor a size of the backup area, preset a change threshold, and the monitoring component determines whether the size of the backup area is smaller than the change threshold, and if the size of the backup area is smaller than the change threshold, performs split backup of the next backup area based on the weight configured in step S2-3.
Furthermore, when a plurality of changing assemblies are operated, a plurality of monitoring assemblies for monitoring the size of the backup area of the corresponding backup subunit are correspondingly activated, and the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, respectively judging whether the size of the backup area of 2 backup subunits is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, and then implementing variable adjustment on the size of the backup area of the backup subunit based on the quotient of the timing occurrence quantity of each distinguishing number;
if the size of the backup area of the backup subunit is smaller than the minimum value of the size of the backup area, the size of the residual area which is not available for the backup subunit is indicated to be available for configuration, and at the moment, whether the corresponding distinguishing number of the backup subunit belongs to the increasing type or the reducing type is judged;
when the number of the gradually reduced type distinguishing numbers is smaller than the number of the distinguishing numbers critical value, the lowest value of the size of the backup area kept by all backup subunits with the gradually reduced type distinguishing numbers is configured by executing only one time based on the quotient value of the timing generation amount of the gradually increased type distinguishing numbers.
Further, the message corresponding to the gradual reduction type distinguishing number is registered in the flash memory, and then the message corresponding to the gradual reduction type distinguishing number is backed up to the corresponding backup subunit based on the corresponding distinguishing number; and after the size of the backup area of the backup subunit corresponding to any incremental difference number is 0, the corresponding message is registered in the flash memory until the size of the backup area of the backup subunit corresponding to all the incremental difference numbers is 0.
The invention has the beneficial effects that:
the utility model discloses, at first divide the backup area size of microcomputer equally into a plurality of backup domains, implement the configuration to the weight of each backup domain after that, the backup domain that the weight value is the highest backups first, remaining backup domain is not backed up, then based on each difference number timing occurrence quantity, the backup domain variable segmentation that the weight value is the highest is a plurality of backup subunits, and the backup area size of each backup subunit is unequal;
in the process, the timing occurrence amount of each area number is variably monitored, so that whether each area number changes gradually or gradually is judged, and based on the change, the segmented backup sub-units are changed again, so that the message can be segmented and backed up more quickly and efficiently.
Drawings
FIG. 1 is a schematic block diagram of the system of the present invention;
FIG. 2 is a flow chart of the method of the present invention.
Detailed Description
The present embodiment provides a dealer multi-scene tv large screen projection system, as shown in fig. 1, the system includes
The mobile phone App is used for transmitting screen projection contents and a screen projection object creation request;
the television large screen is used for requesting a screen projection object and rendering and displaying screen projection content;
the application server App-server is used for establishing socket long connection with the mobile phone App and the television large screen through a TCP protocol, creating a screen-throwing object, creating a socket command based on the screen-throwing object, forwarding the socket command, and synchronously establishing a chat room chat-room based on the unique client identifier;
the chat rooms chat-room are used for executing message forwarding between the mobile phone App and the television large screen, synchronously transmitting the message to the backup terminal to execute backup, and the chat rooms chat-room are isolated from each other;
the backup terminal comprises a flash memory, a recording component, a weight configuration component and a variable segmentation component;
the flash memory is used for registering messages;
the recording component is used for regularly taking out the messages in the flash memory, grouping is carried out on the basis of the distinguishing numbers A and B created by the transmitter, and synchronously recording the timing occurrence quantity of the 2 distinguishing numbers, wherein the timing occurrence quantity is as follows: when the messages in the flash memory are taken out for one time in a timing manner, counting the number of the messages with the same distinguishing number in the messages taken out for one time respectively to serve as the timing occurrence quantity of the distinguishing number;
the weight configuration component is used for establishing a message backup area for backing up messages in the flash memory, equally dividing the message backup area into a plurality of backup domains based on the size of the backup area, and then configuring the weight of each backup domain;
the variable segmentation component is used for dividing a backup domain into 2 backup subunits with different sizes based on the timing occurrence quantity of 2 distinguishing numbers, and the sizes of the backup domains of the 2 backup subunits are configured based on the quotient of the timing occurrence quantity of the 2 distinguishing numbers; the variable segmentation component correspondingly configures a variable queue based on the quotient value of the timing occurrence quantity of each distinguished number, and sends the queue to the variable segmentation component;
variably monitoring the timing occurrence quantity of the 2 district numbers, judging whether the quotient value of the timing occurrence quantity of each district number is within a preset range value or not, and operating more than 1 change component when the quotient value is not within the preset range value, wherein the change component is used for adjusting the size of the backup area of 2 backup subunits reconfigured by the variable segmentation component; when 1 or a plurality of changing assemblies are operated to adjust the size of the backup area of the 2 backup subunits reconfigured by the variable segmentation assembly, synchronously changing and backing up the backup to the queue in the variable segmentation assembly;
when 1 change component is operated, 1 monitoring component for monitoring the size of the backup area of the corresponding backup subunit is correspondingly activated, and the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, judging whether the size of the backup area of a backup subunit is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, and implementing variable adjustment on the size of the backup area of the backup subunit based on quotient values of timing occurrence amounts of 2 distinguishing numbers; if the size of the backup area of the backup subunit is smaller than the minimum value of the size of the backup area, the size of the residual area which is not available for the backup subunit is indicated to be available for configuration, and the size of the backup area of the backup subunit is not changed at the moment;
when a plurality of change assemblies are operated, a plurality of monitoring assemblies for monitoring the size of the backup area of the corresponding backup subunit are correspondingly activated, and the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, respectively judging whether the size of the backup area of 2 backup subunits is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, and then implementing variable adjustment on the size of the backup area of the backup subunit based on the quotient of the timing occurrence quantity of 2 distinguishing numbers; if the size of the backup area of the backup subunit is smaller than the minimum value of the size of the backup area, the backup subunit has no available residual area size for configuration, at this time, whether the corresponding distinguishing number of the backup subunit belongs to the increasing type or the reducing type is judged, when the quotient of the timing occurrence quantity of the distinguishing number A divided by the timing occurrence quantity of the distinguishing number B is smaller than the quotient of the two types after the last segmentation, the distinguishing number A is the reducing type, and the distinguishing number B is the increasing type; when the quotient of the timing occurrence quantity of the distinction number A divided by the timing occurrence quantity of the distinction number B is larger than the quotient of the timing occurrence quantity of the distinction number A and the timing occurrence quantity of the distinction number B after the last segmentation, the distinction number A is in an increasing type, and the distinction number B is in a decreasing type; when the backup subunit belongs to the gradual reduction type, the size of the backup area of the backup subunit is not changed; if the residual area size available for configuration of the other backup subunits is in the corresponding distribution queue, the size of the backup area of the backup subunit is increased; if not, the size of the backup area of the backup sub-unit is not changed.
A dealer multi-scene television large-screen projection system further comprises a variable monitoring component, wherein the variable monitoring component is used for variably monitoring timing occurrence amounts of 2 district numbers, judging whether quotient values of the timing occurrence amounts of the respective district numbers are within a preset range value or not, when the quotient values are not within the preset range value, more than 1 change component is operated, and the change component is used for adjusting the variable segmentation component to reconfigure the size of a backup area of each backup subunit.
A dealer multi-scene television large-screen projection method is shown in figure 2 and comprises the following steps
S1, establishing socket long connection between the mobile phone App and the television large screen and the application server App-server through a TCP protocol, and implementing bidirectional real-time communication through socket messages;
s2, the application server App-server constructs chat rooms chat-room based on the unique client identifier, then each chat room chat-room executes message forwarding between the mobile phone App and the television large screen, the chat rooms chat-room serving as the transfer party synchronously transfer the messages to the backup terminal for backup, and the chat rooms chat-room are isolated from each other;
s3, the mobile phone App requests an application server App-server to create a screen projection object;
s4, the app-server of the application server creates a socket command based on the screen projection object;
s5, the app-server forwards the socket command to all large television screens in the chat room chat-room;
s6, after receiving a socket command, the large television screen requests a screen-casting object, and finally renders and displays screen-casting content on the large television screen;
the method for backing up the message in the backup terminal in the step S2 includes the following steps:
step S2-1, the transmitting party transmits the message to the backup terminal and sends the message to the flash memory built in the backup terminal;
step S2-2, periodically extracting the messages in the flash memory, grouping the messages based on the difference numbers a and B created by the transfer party, and synchronously recording the timing occurrence amounts of the 2 difference numbers, wherein the timing occurrence amounts are: when the messages in the flash memory are taken out for one time in a timing manner, counting the number of the messages with the same distinguishing number in the messages taken out for one time respectively to serve as the timing occurrence quantity of the distinguishing number;
step S2-3, establishing a message backup area for backing up messages in a flash memory, equally dividing the message backup area into a plurality of backup domains based on the size of the backup area, and then configuring the weight of each backup domain;
step S2-4, based on the timing occurrence quantity of 2 distinguishing numbers, the backup domain is divided into 2 backup subunits with different sizes by the variable segmentation component, and the size of the backup area of the 2 backup subunits is configured based on the quotient of the timing occurrence quantity of the 2 distinguishing numbers; the variable splitting component correspondingly configures a variable queue based on the quotient value of the timing occurrence quantity of each distinguished number, and sends the queue to the variable splitting component;
variably monitoring the timing occurrence quantity of the 2 district numbers, judging whether the quotient value of the timing occurrence quantity of each district number is within a preset range value or not, and operating more than 1 change component when the quotient value is not within the preset range value, wherein the change component is used for adjusting the size of the backup area of 2 backup subunits reconfigured by the variable segmentation component; when 1 or a plurality of change assemblies are operated to adjust the size of the backup area of the 2 backup subunits reconfigured by the variable segmentation assembly, synchronously changing and backing up the backup to a queue in the variable segmentation assembly;
when 1 change component is operated, 1 monitoring component for monitoring the size of the backup area of the corresponding backup subunit is correspondingly activated, and the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, judging whether the size of the backup area of a backup subunit is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, and implementing variable adjustment on the size of the backup area of the backup subunit based on quotient values of timing occurrence amounts of 2 distinguishing numbers; if the size of the backup area of the backup subunit is smaller than the minimum value of the size of the backup area, the size of the residual area which is not available for the backup subunit is indicated to be available for configuration, and the size of the backup area of the backup subunit is not changed at the moment;
when a plurality of change assemblies are operated, a plurality of monitoring assemblies for monitoring the size of the backup area of the corresponding backup subunit are correspondingly activated, and the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, respectively judging whether the size of the backup area of 2 backup subunits is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, and then implementing variable adjustment on the size of the backup area of the backup subunit based on the quotient of the timing occurrence quantity of 2 distinguishing numbers; if the size of the backup area of the backup subunit is smaller than the minimum value of the size of the backup area, the backup subunit has no available residual area size for configuration, at this time, whether the corresponding distinguishing number of the backup subunit belongs to the increasing type or the reducing type is judged, when the quotient of the timing occurrence quantity of the distinguishing number A divided by the timing occurrence quantity of the distinguishing number B is smaller than the quotient of the two types after the last segmentation, the distinguishing number A is the reducing type, and the distinguishing number B is the increasing type; when the quotient of the timing occurrence quantity of the distinguishing number A divided by the timing occurrence quantity of the distinguishing number B is larger than the quotient of the timing occurrence quantity of the distinguishing number A and the timing occurrence quantity of the distinguishing number B after the last segmentation, the distinguishing number A is in an increasing type, and the distinguishing number B is in a decreasing type; when the data belongs to the gradual reduction type, the size of the backup area of the backup subunit is not changed; if the residual area size available for configuration of the other backup subunits is in the corresponding distribution queue, the size of the backup area of the backup subunit is increased; if not, the size of the backup area of the backup subunit is not changed;
and step S2-5, backing up the grouped messages to corresponding backup subunits based on the corresponding distinguishing numbers.
Further, the monitoring component is further configured to monitor a size of the backup area, preset a change threshold, and the monitoring component determines whether the size of the backup area is smaller than the change threshold, and if the size of the backup area is smaller than the change threshold, performs split backup of the next backup area based on the weight configured in step S2-3.
Furthermore, when a plurality of changing assemblies are operated, a plurality of monitoring assemblies for monitoring the size of the backup area of the corresponding backup subunit are correspondingly activated, and the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, respectively judging whether the size of the backup area of 2 backup subunits is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, and then implementing variable adjustment on the size of the backup area of the backup subunit based on the quotient of the timing occurrence quantity of each distinguishing number;
if the size of the backup area of the backup subunit is smaller than the minimum value of the size of the backup area, the size of the residual area which is not available for the backup subunit is indicated to be available for configuration, and at the moment, whether the corresponding distinguishing number of the backup subunit belongs to the increasing type or the reducing type is judged;
when the number of the gradually reduced type distinction numbers is smaller than the number critical value of the distinction numbers, the lowest value of the size of the backup area kept by all the backup sub-units with the gradually reduced type distinction numbers is configured only by executing one loop based on the quotient value of the timing generation amount of the gradually increased type distinction numbers.
Further, the messages corresponding to the progressive type distinction numbers are registered in the flash memory, and then the messages corresponding to the progressive type distinction numbers are backed up to the corresponding backup subunits based on the corresponding distinction numbers; and after the size of the backup area of the backup subunit corresponding to any incremental difference number is 0, the corresponding message is registered in the flash memory until the size of the backup area of the backup subunit corresponding to all the incremental difference numbers is 0.
The first embodiment is as follows: the embodiment configures the transferor into 1 pair to implement the split backup of the message.
Chat rooms chat-room as transfer parties respectively transfer messages to a backup terminal and send the messages to a flash memory, wherein the backup terminal can be a computer, and the flash memory is arranged in the computer; the 2 chat rooms chat-room have a distinction number a and a distinction number B, respectively.
The messages in the flash memory are taken out at regular time, the messages are grouped based on the area numbers A and the area numbers B, and the timing occurrence quantity of the area numbers A and the area numbers B is synchronously recorded, wherein the timing occurrence quantity is as follows: when the messages in the flash memory are taken out for one time in a timing mode, the number of the messages with the same area number in the messages taken out for one time is counted respectively to serve as the timing occurrence amount of the area number.
Establishing a message backup area for backing up messages in a flash memory, equally dividing the message backup area into a backup domain a and a backup domain b based on the size of the backup area, then, the weights of the backup domain a and the backup domain b are configured, for example, the weight of the backup domain a is higher than the weight of the backup domain b, the weights can be configured by a method of central control and auxiliary control, the central control can be a key control implemented by a manager, the auxiliary control can be a control implemented by a worker or a customer, or can be configured by an index, the indexes of the backup domain a and the backup domain b are registered, so that the right can be reconfigured by the backup location pre-configured in the indexes during backup, and in conclusion, when the message is backed up, the message is backed up through the backup domain a, and when the size of the backup area of the backup domain a is 0, the message is backed up through the backup domain b.
Based on the timing occurrence quantity of the distinguishing number A and the distinguishing number B, the backup domain a is divided into 2 backup subunits by a variable segmentation component, the size of the backup region of the 2 backup subunits is configured based on the quotient of the timing occurrence quantity of the distinguishing number A and the distinguishing number B, and then the grouped messages are backed up to the corresponding backup subunits based on the corresponding distinguishing numbers; assuming that the quotient of the timing occurrence amount of the difference number a divided by the timing occurrence amount of the difference number B is 0.25, the quotient of the total backup area size of the backup field a divided by the backup area size of the backup sub-unit corresponding to the difference number a is 5, and the quotient of the total backup area size of the backup field a divided by the backup area size of the backup sub-unit corresponding to the difference number B is 1.25.
Synchronously, the variable segmentation component generates 1 backup queue based on the quotient of the timing occurrences of the difference number a and the difference number B, and the backup queue is backed up in the variable segmentation component.
After the segmentation is completed, the grouped messages are backed up to corresponding backup subunits based on the distinguishing numbers A and B, and when the backup is implemented, the distinguishing numbers A and B are monitored by the monitoring component to judge whether the distinguishing numbers A and B are changed during the backup.
The step of monitoring the distinguishing number A and the distinguishing number B by the monitoring component comprises the following steps: the quotient of the timing occurrence amounts of the variable monitoring area number A and the variable monitoring area number B is used for judging whether the timing occurrence amount of the area number A or the area number B is within a preset range value, wherein the preset range value is interpreted as: the quotient of the total amount of the timing occurrence quantity of the distinction A and the distinction B divided by the timing occurrence quantity of the distinction A is fixed to be 5, and the quotient of the total amount of the timing occurrence quantity of the distinction A and the distinction B divided by the timing occurrence quantity of the distinction B is fixed to be 1.25; the predetermined range value is configured to be variable, and if the size of the backup area of the backup sub-unit corresponding to the area number a is changed, the predetermined range value is also changed accordingly.
When the timing occurrence quantity of the distinction number A or the distinction number B is out of the preset range value, 1 or a plurality of change assemblies are operated to adjust the size of the backup area of the 2 backup subunits reconfigured by the variable segmentation assembly.
The step of reconfiguring the size of the backup area of the 2 backup subunits by the variable segmentation component comprises the following steps: if the quotient of the timing occurrence of the difference number a divided by the timing occurrence of the difference number B is fixed to 0.2 in the monitoring of a plurality of fixed durations, the quotient of the total backup area size of the backup field a divided by the backup area size of the backup sub-unit corresponding to the difference number a is 6, and the quotient of the total backup area size of the backup field a divided by the backup area size of the backup sub-unit corresponding to the difference number B is 1.2.
Synchronously generating 1 backup queue, wherein the backup queue is backed up in the variable segmentation component, and the changed preset range is interpreted as follows: the quotient of the total amount of the timing occurrence amounts of the distinction A and the distinction B divided by the timing occurrence amount of the distinction A is fixed to 6, and the quotient of the total amount of the timing occurrence amounts of the distinction A and the distinction B divided by the timing occurrence amount of the distinction B is fixed to 1.2.
Further, when 1 changing component is operated, 1 monitoring component is correspondingly activated, and if the monitoring component a is used for monitoring the size of the backup area of the backup subunit a, the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, judging whether the size of the backup area of a backup subunit A is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit A is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, at the moment, implementing variable adjustment on the size of the backup area of the backup subunit based on the quotient of the timing generation quantity of the area number A and the difference number B, if the quotient of the timing generation quantity of the area number A divided by the timing generation quantity of the difference number B is fixed to be 0.2 in the monitoring of a plurality of fixed time lengths, so that the quotient of the total size of the backup area of a divided by the size of the backup area of the corresponding backup subunit of the difference number A is 6, so that the quotient of the total size of the backup area a divided by the size of the backup area of the corresponding backup subunit of the difference number B is 1.2, and synchronously generating 1 backup queue, the backup queue is backed up in the variable segmentation component; if the backup area size of the backup subunit a is smaller than the minimum value of the backup area size, it indicates that the backup subunit a has no available residual area size for configuration, and at this time, the backup area size of the backup subunit a is not changed.
The criteria for the backup queue are configured as: the backup subunit corresponding to the area number A and the backup subunit corresponding to the area number B are supported by each other, so that the variable segmentation program can synchronously read the size of the backup area of the backup subunit corresponding to the area number A and the size of the backup subunit corresponding to the area number B only by extracting the backup queue.
Further, when 2 changing assemblies are operated, 2 monitoring assemblies for monitoring the size of the backup area of the corresponding backup subunit are correspondingly activated, and the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, respectively judging whether the size of the backup area of 2 backup subunits is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, and then performing variable adjustment on the size of the backup area of the backup subunit based on the quotient of the timing occurrence amount of the area number A and the difference number B; if the size of the backup area of the backup subunit is smaller than the minimum value of the size of the backup area, it indicates that the size of the residual area of the backup subunit is not available for configuration, and at this time, it is determined whether the corresponding difference number of the backup subunit is incremental or gradual.
In the monitoring of a plurality of fixed time lengths, the quotient of the timing occurrence quantity of the distinguishing number A divided by the timing occurrence quantity of the distinguishing number B is fixed to be 0.2, so that the distinguishing number A can be proved to have a gradually reducing trend, the distinguishing number B has a gradually increasing trend, compared with the first segmentation, the transmission quantity of the corresponding message of the distinguishing number A is slowly reduced, and the size requirement of the corresponding backup area is reduced; obviously, the requirement for the size of the backup area of the message corresponding to the area number B increases, so the area number a is a tapered area number, and the area number B is a tapered area number.
In the process, monitoring is carried out on the backup subunit corresponding to the difference number A, whether the available residual area size which can be configured by the backup subunit is in the corresponding backup queue of the backup subunit corresponding to the difference number B or not is judged, and if the available residual area size is in the corresponding backup queue of the backup subunit corresponding to the difference number B, capacity expansion is carried out on the backup subunit corresponding to the difference number B in a mode of reducing the backup area size of the backup subunit corresponding to the difference number A.
Similarly, when the number of the zone numbers is greater than or equal to 3, if the zone number C is also an incremental zone number, the timing occurrence amount of the synchronous zone number B is smaller than that of the zone number C, and at this time, the zone number a and the zone number B are located in the backup queue corresponding to the zone number C, and only the zone number a is located in the backup queue corresponding to the zone number B, and the zone number C is never distinguished.
If when the number of the distinction numbers is 5, the following configuration is implemented: when the number of the tapered type zone numbers is 1, the minimum value of the backup zone size of all backup subunits with the tapered type zone numbers (for example, the minimum value of the backup zone size of each backup subunit is three percent or nine percent, when the minimum value is reached, the backup zone size is almost completely used, and the backup speed of the backup subunit is greatly slowed down at this time) is retained, and then the available residual zone size corresponding to the tapered type zone numbers is configured to the increasing type zone numbers, and the available residual zone size is set to be the size of all unused backup zones, which certainly includes the minimum value of the backup zone size.
When the backup subunit is used to the lowest value, the size of the backup area is almost completely used, at the moment, the backup speed of the backup subunit is greatly reduced, and the transmission quantity of the messages corresponding to the tapered type distinction numbers is less, so that only a small number of backup areas are used in the flash memory, the consumed time is less, at the moment, the messages corresponding to the tapered type distinction numbers are not backed up temporarily, but the backup speed of the messages corresponding to the increasing type distinction numbers is accelerated, the available residual areas corresponding to the tapered type distinction numbers are configured into the increasing type distinction numbers in a communicating way, and the backup subunit used to the lowest value can be configured in the increasing type distinction numbers again, so that the backup speed of a backup domain a at the later stage can be greatly improved; and after the size of the backup area of the backup subunit corresponding to any incremental difference number is 0, registering corresponding information into the flash memory until the size of the backup area of the backup subunit corresponding to all the incremental difference numbers is 0.
Further, the monitoring component is further configured to monitor the size of the backup area a, preset a change threshold, and perform a judgment on whether the size of the backup area a is smaller than the change threshold (for example, when one percent of the backup area is left, the speed of continuing the backup is greatly reduced), and if the size of the backup area a is smaller than the change threshold, perform the split backup of the backup area b based on the configured weight.
In addition to the above embodiments, the present invention may have other embodiments; all the technical solutions formed by adopting equivalent substitutions or equivalent transformations fall within the protection scope claimed by the present invention.
Claims (6)
1. A dealer multi-scene television large-screen projection system is characterized in that: comprises that
The mobile phone App is used for transmitting screen projection contents and a creation request of a screen projection object;
the television large screen is used for requesting a screen projection object and rendering and displaying screen projection contents;
the application server App-server is used for establishing socket long connection with the mobile phone App and the television large screen through a TCP protocol, creating a screen-throwing object, creating a socket command based on the screen-throwing object, forwarding the socket command, and synchronously establishing a chat room chat-room based on the unique client identifier;
the chat rooms chat-room are used for executing message forwarding between the mobile phone App and the television large screen, synchronously transmitting the message to the backup terminal to execute backup, and the chat rooms chat-room are isolated from each other;
the backup terminal comprises a flash memory, a recording component, a weight configuration component and a variable segmentation component;
the flash memory is used for registering messages;
the recording component is used for periodically taking out the messages in the flash memory, grouping is carried out on the basis of the distinguishing numbers A and B created by the transmitter, and the synchronous recording is carried out on the timing occurrence quantity of the 2 distinguishing numbers, wherein the timing occurrence quantity is as follows: when the messages in the flash memory are taken out for one time in a timing manner, counting the number of the messages with the same distinguishing number in the messages taken out for one time respectively to serve as the timing occurrence quantity of the distinguishing number;
the weight configuration component is used for establishing a message backup area for backing up messages in the flash memory, equally dividing the message backup area into a plurality of backup domains based on the size of the backup area, and then configuring the weight of each backup domain;
the variable segmentation component is used for dividing a backup domain into 2 backup subunits with different sizes based on the timing occurrence quantity of 2 distinguishing numbers, and the size of the backup domain of the 2 backup subunits is configured based on the quotient of the timing occurrence quantity of the 2 distinguishing numbers; the variable segmentation component correspondingly configures a variable queue based on the quotient value of the timing occurrence quantity of each distinguished number, and sends the queue to the variable segmentation component;
variably monitoring the timing occurrence quantity of the 2 district numbers, judging whether the quotient value of the timing occurrence quantity of each district number is within a preset range value or not, and operating more than 1 change component when the quotient value is not within the preset range value, wherein the change component is used for adjusting the size of the backup area of 2 backup subunits reconfigured by the variable segmentation component; when 1 or a plurality of changing assemblies are operated to adjust the size of the backup area of the 2 backup subunits reconfigured by the variable segmentation assembly, synchronously changing and backing up the backup to the queue in the variable segmentation assembly;
when 1 change component is operated, 1 monitoring component for monitoring the size of the backup area of the corresponding backup subunit is correspondingly activated, and the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, judging whether the size of the backup area of a backup subunit is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, and implementing variable adjustment on the size of the backup area of the backup subunit based on quotient values of timing occurrence amounts of 2 distinguishing numbers; if the size of the backup area of the backup subunit is smaller than the minimum value of the size of the backup area, the size of the residual area which is not available for the backup subunit is indicated to be available for configuration, and the size of the backup area of the backup subunit is not changed at the moment;
when a plurality of change assemblies are operated, a plurality of monitoring assemblies for monitoring the size of the backup area of the corresponding backup subunit are correspondingly activated, and the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, respectively judging whether the size of the backup area of 2 backup subunits is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, and then implementing variable adjustment on the size of the backup area of the backup subunit based on a quotient of the timing occurrence quantity of 2 distinguishing numbers; if the size of the backup area of the backup subunit is smaller than the minimum value of the size of the backup area, the backup subunit has no available residual area size for configuration, at this time, whether the corresponding distinguishing number of the backup subunit belongs to the increasing type or the reducing type is judged, when the quotient of the timing occurrence quantity of the distinguishing number A divided by the timing occurrence quantity of the distinguishing number B is smaller than the quotient of the two types after the last segmentation, the distinguishing number A is the reducing type, and the distinguishing number B is the increasing type; when the quotient of the timing occurrence quantity of the distinguishing number A divided by the timing occurrence quantity of the distinguishing number B is larger than the quotient of the timing occurrence quantity of the distinguishing number A and the timing occurrence quantity of the distinguishing number B after the last segmentation, the distinguishing number A is in an increasing type, and the distinguishing number B is in a decreasing type; when the data belongs to the gradual reduction type, the size of the backup area of the backup subunit is not changed; if the residual area size available for configuration of the other backup subunits is in the corresponding distribution queue, the size of the backup area of the backup subunit is increased; if not, the size of the backup area of the backup sub-unit is not changed.
2. The dealer multi-scene television large-screen projection system according to claim 1, wherein: the device also comprises a variable monitoring component which is used for variably monitoring the timing occurrence quantity of the 2 distinguishing numbers, judging whether the quotient value of the timing occurrence quantity of each distinguishing number is within a preset range value or not, operating more than 1 change component when the quotient value is not within the preset range value, and adjusting the size of the backup area of each backup subunit reconfigured by the variable segmentation component by the change component.
3. A dealer multi-scene television large-screen projection method is characterized by comprising the following steps: comprises the following steps
S1, establishing socket long connection between the mobile phone App and the television large screen and the application server App-server through a TCP protocol, and implementing bidirectional real-time communication through socket messages;
s2, the application server App-server constructs chat rooms chat-room based on the unique client identifier, then each chat room chat-room executes message forwarding between the mobile phone App and the television large screen, the chat rooms chat-room serving as the transfer party synchronously transfer the messages to the backup terminal for backup, and the chat rooms chat-room are isolated from each other;
s3, the mobile phone App requests an application server App-server to create a screen projection object;
s4, the app-server of the application server creates a socket command based on the screen projection object;
s5, the app-server forwards the socket command to all large television screens in the chat room chat-room;
s6, after receiving a socket command, the large television screen requests a screen-casting object, and finally renders and displays screen-casting content on the large television screen;
the method for backing up the message in the backup terminal in the step S2 includes the following steps:
step S2-1, the transmitting party transmits the message to the backup terminal and sends the message to the flash memory built in the backup terminal;
step S2-2, periodically extracting the messages in the flash memory, grouping the messages based on the difference numbers a and B created by the transfer party, and synchronously recording the timing occurrence amounts of the 2 difference numbers, wherein the timing occurrence amounts are: when the messages in the flash memory are taken out for one time in a timing manner, counting the number of the messages with the same distinguishing number in the messages taken out for one time respectively to serve as the timing occurrence quantity of the distinguishing number;
step S2-3, establishing a message backup area for backing up messages in a flash memory, equally dividing the message backup area into a plurality of backup domains based on the size of the backup area, and then configuring the weight of each backup domain;
step S2-4, based on the timing occurrence quantity of 2 distinguishing numbers, the backup domain is divided into 2 backup subunits with different sizes by the variable segmentation component, and the size of the backup area of the 2 backup subunits is configured based on the quotient of the timing occurrence quantity of the 2 distinguishing numbers; the variable splitting component correspondingly configures a variable queue based on the quotient value of the timing occurrence quantity of each distinguished number, and sends the queue to the variable splitting component;
variably monitoring the timing occurrence quantity of the 2 district numbers, judging whether the quotient value of the timing occurrence quantity of each district number is within a preset range value or not, and operating more than 1 change component when the quotient value is not within the preset range value, wherein the change component is used for adjusting the size of the backup area of 2 backup subunits reconfigured by the variable segmentation component; when 1 or a plurality of changing assemblies are operated to adjust the size of the backup area of the 2 backup subunits reconfigured by the variable segmentation assembly, synchronously changing and backing up the backup to the queue in the variable segmentation assembly;
when 1 change component is operated, 1 monitoring component for monitoring the size of the backup area of the corresponding backup subunit is correspondingly activated, and the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, judging whether the size of the backup area of a backup subunit is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, and implementing variable adjustment on the size of the backup area of the backup subunit based on quotient values of timing occurrence amounts of 2 distinguishing numbers; if the size of the backup area of the backup subunit is smaller than the minimum value of the size of the backup area, the size of the residual area which is not available for the backup subunit is indicated to be available for configuration, and the size of the backup area of the backup subunit is not changed at the moment;
when a plurality of change assemblies are operated, a plurality of monitoring assemblies for monitoring the size of the backup area of the corresponding backup subunit are correspondingly activated, and the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, respectively judging whether the size of the backup area of 2 backup subunits is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, and then implementing variable adjustment on the size of the backup area of the backup subunit based on a quotient of the timing occurrence quantity of 2 distinguishing numbers; if the size of the backup area of the backup subunit is smaller than the minimum value of the size of the backup area, the backup subunit has no available residual area size for configuration, at this time, whether the corresponding distinguishing number of the backup subunit belongs to the increasing type or the reducing type is judged, when the quotient of the timing occurrence quantity of the distinguishing number A divided by the timing occurrence quantity of the distinguishing number B is smaller than the quotient of the two types after the last segmentation, the distinguishing number A is the reducing type, and the distinguishing number B is the increasing type; when the quotient of the timing occurrence quantity of the distinction number A divided by the timing occurrence quantity of the distinction number B is larger than the quotient of the timing occurrence quantity of the distinction number A and the timing occurrence quantity of the distinction number B after the last segmentation, the distinction number A is in an increasing type, and the distinction number B is in a decreasing type; when the data belongs to the gradual reduction type, the size of the backup area of the backup subunit is not changed; if the residual area size available for configuration of the other backup subunits is in the corresponding distribution queue, the size of the backup area of the backup subunit is increased; if not, the size of the backup area of the backup sub-unit is not changed;
and step S2-5, backing up the grouped messages to corresponding backup subunits based on the corresponding distinguishing numbers.
4. The dealer multi-scene television large-screen projection method according to claim 3, wherein: the monitoring component is further configured to monitor the size of the backup area, preset a change critical value, and perform a determination on whether the size of the backup area is smaller than the change critical value, and if the size of the backup area is smaller than the change critical value, perform a split backup of the next backup area based on the weight configured in step S2-3.
5. The dealer multi-scene television large-screen projection method according to claim 3, wherein: when a plurality of change assemblies are operated, a plurality of monitoring assemblies for monitoring the size of the backup area of the corresponding backup subunit are correspondingly activated, and the monitoring method specifically comprises the following steps: firstly, presetting a minimum value of the size of a backup area, respectively judging whether the size of the backup area of 2 backup subunits is lower than the minimum value of the size of the backup area, if the size of the backup area of the backup subunit is larger than the minimum value of the size of the backup area, indicating that the backup subunit has available residual area size for configuration, and then implementing variable adjustment on the size of the backup area of the backup subunit based on the quotient of the timing occurrence amount of each distinguishing number;
if the size of the backup area of the backup subunit is smaller than the minimum value of the size of the backup area, the size of the residual area which is not available for the backup subunit is indicated to be available for configuration, and at the moment, whether the corresponding distinguishing number of the backup subunit belongs to the increasing type or the reducing type is judged;
when the number of the gradually reduced type distinguishing numbers is smaller than the number of the distinguishing numbers critical value, the lowest value of the size of the backup area kept by all backup subunits with the gradually reduced type distinguishing numbers is configured by executing only one time based on the quotient value of the timing generation amount of the gradually increased type distinguishing numbers.
6. The dealer multi-scene television large-screen projection method according to claim 3, wherein: registering the message corresponding to the tapered type distinguishing number in the flash memory, and then backing up the message corresponding to the tapered type distinguishing number to a corresponding backup subunit based on the corresponding distinguishing number; and after the size of the backup area of the backup subunit corresponding to any incremental difference number is 0, the corresponding message is registered in the flash memory until the size of the backup area of the backup subunit corresponding to all the incremental difference numbers is 0.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210572104.4A CN114666641B (en) | 2022-05-25 | 2022-05-25 | Dealer multi-scene television large-screen projection system and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210572104.4A CN114666641B (en) | 2022-05-25 | 2022-05-25 | Dealer multi-scene television large-screen projection system and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114666641A CN114666641A (en) | 2022-06-24 |
| CN114666641B true CN114666641B (en) | 2022-08-26 |
Family
ID=82038392
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210572104.4A Active CN114666641B (en) | 2022-05-25 | 2022-05-25 | Dealer multi-scene television large-screen projection system and method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114666641B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101620570A (en) * | 2008-10-31 | 2010-01-06 | 长沙市源微微电子有限公司 | Memory module dynamic backup management system and method therefor |
| CN103729300A (en) * | 2013-12-25 | 2014-04-16 | 华为技术有限公司 | Method and related device for managing non-volatile memories |
| CN106325245A (en) * | 2016-08-18 | 2017-01-11 | 广州市迪士普音响科技有限公司 | Control method and control system of wisdom platform |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4853890B2 (en) * | 2004-12-21 | 2012-01-11 | 富士通株式会社 | Data backup device |
| US8650162B1 (en) * | 2009-03-31 | 2014-02-11 | Symantec Corporation | Method and apparatus for integrating data duplication with block level incremental data backup |
| JP5617255B2 (en) * | 2010-01-25 | 2014-11-05 | 富士通株式会社 | Information display apparatus, program, and method |
| CN104580306B (en) * | 2013-10-21 | 2018-02-16 | 北京计算机技术及应用研究所 | A kind of multiple terminals backup services system and its method for scheduling task |
| CN110784758B (en) * | 2019-08-22 | 2021-11-05 | 腾讯科技(深圳)有限公司 | Screen projection processing method and device, electronic equipment and computer program medium |
| CN111556359A (en) * | 2020-04-24 | 2020-08-18 | 上海第一财经传媒有限公司 | Screen projection system and method based on television box |
| CN113207035A (en) * | 2021-04-16 | 2021-08-03 | 乐视致新信息技术(武汉)有限公司 | Video screen projection method, device, equipment and computer readable storage medium |
| CN114422509B (en) * | 2022-04-01 | 2022-07-26 | 天津联想协同科技有限公司 | Automatic file backup method and device, network disk and storage medium |
-
2022
- 2022-05-25 CN CN202210572104.4A patent/CN114666641B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101620570A (en) * | 2008-10-31 | 2010-01-06 | 长沙市源微微电子有限公司 | Memory module dynamic backup management system and method therefor |
| CN103729300A (en) * | 2013-12-25 | 2014-04-16 | 华为技术有限公司 | Method and related device for managing non-volatile memories |
| CN106325245A (en) * | 2016-08-18 | 2017-01-11 | 广州市迪士普音响科技有限公司 | Control method and control system of wisdom platform |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114666641A (en) | 2022-06-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3832578A1 (en) | Electronic invoice identifier allocation method, and electronic ticket generating method, device and system | |
| CN111552450A (en) | Screen projection method and device | |
| CN108243264A (en) | Method and system for generating a serial number | |
| CN104506886A (en) | Fault processing method and cloud server | |
| WO2022127504A1 (en) | Network element management method and apparatus, and storage medium | |
| EP3457278A1 (en) | Distributed processing system, data processing method, and control node apparatus | |
| CN103338144A (en) | Session data synchronization method and session data synchronization device | |
| CN107770881A (en) | Transmit the method and device of data | |
| CN113726883A (en) | Cloud data processing method, related device and computer program product | |
| CN110392098A (en) | An adaptive virtual desktop transmission method and device | |
| CN103518205A (en) | Method and automation equipment for restricting operation authority | |
| CN111027284B (en) | Standardized output method based on flexible data access | |
| CN109542841A (en) | The method and terminal device of data snapshot are created in cluster | |
| CN101707618B (en) | Authentication control method, device, system and authentication server | |
| WO2019062019A1 (en) | Data list exporting method and terminal using same | |
| CN108243222A (en) | Server network architecture method and device | |
| CN111262909A (en) | Large-screen information display method, device, equipment and storage medium | |
| CN107248961A (en) | A kind of management method and management system of Internet of Things data flow | |
| CN114666641B (en) | Dealer multi-scene television large-screen projection system and method | |
| CN105511273A (en) | Client operation management method and client | |
| CN100499841C (en) | Short message service interface and channel adapting method for the same | |
| CN113515425A (en) | Method and device for dynamically reporting data | |
| CN119299177B (en) | A cryptographic service cluster scheduling management system, method, device and storage medium | |
| CN113077280A (en) | Electronic resource allocation method and device, electronic equipment and storage medium | |
| CN115086347B (en) | Data synchronization method, device, electronic equipment and 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 |