CN117573052A - Screen projection connection method, device, equipment and storage medium - Google Patents

Screen projection connection method, device, equipment and storage medium Download PDF

Info

Publication number
CN117573052A
CN117573052A CN202210945319.6A CN202210945319A CN117573052A CN 117573052 A CN117573052 A CN 117573052A CN 202210945319 A CN202210945319 A CN 202210945319A CN 117573052 A CN117573052 A CN 117573052A
Authority
CN
China
Prior art keywords
screen
address
throwing
communication address
address information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210945319.6A
Other languages
Chinese (zh)
Inventor
李少敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shizhen Information Technology Co Ltd
Original Assignee
Guangzhou Shizhen Information 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 Guangzhou Shizhen Information Technology Co Ltd filed Critical Guangzhou Shizhen Information Technology Co Ltd
Priority to CN202210945319.6A priority Critical patent/CN117573052A/en
Publication of CN117573052A publication Critical patent/CN117573052A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2521Translation architectures other than single NAT servers
    • H04L61/2525Translation at a client

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application discloses a screen projection connection method, device, equipment and storage medium, and relates to the technical field of screen projection. The technical scheme that this application provided includes: acquiring first communication address information, and converting the first communication address information into a digital sequence; converting the digital sequence into a direction symbol sequence based on the association relation between the preset digital characters and the direction symbols; and displaying the direction symbol sequence on a display screen of the machine, so that after the screen-throwing transmitting end sequentially inputs sliding operation corresponding to each direction symbol in the direction symbol sequence, analyzing first communication address information based on the sliding operation, and establishing screen-throwing connection with the screen-throwing receiving end according to the first communication address information. Through the technical means, the user can conveniently input the sliding operation in the corresponding direction at the screen-throwing transmitting end while looking at the displayed direction symbol of the screen-throwing receiving end, the screen-throwing connection efficiency is improved, and the problem that the time consumption of screen-throwing code input in the prior art is long is solved.

Description

Screen projection connection method, device, equipment and storage medium
Technical Field
The application relates to the technical field of screen projection, in particular to a screen projection connection method, a device, equipment and a storage medium.
Background
With the rapid development of computer technology, a screen-throwing transmitting end such as a mobile phone and a computer can transmit interface contents of a display screen to a screen-throwing receiving end such as a television and an interactive tablet through the screen-throwing technology, so that the screen-throwing receiving end displays the received interface contents on the display screen of the screen-throwing receiving end. When the screen-throwing transmitting end and the screen-throwing receiving end are placed in the same local area network, wireless screen-throwing connection can be established between the screen-throwing transmitting end and the screen-throwing receiving end, so that interface content transmission can be carried out through the wireless screen-throwing connection.
In the prior art, a screen-throwing receiving end encodes a communication address of the screen-throwing receiving end into a screen-throwing code consisting of letters and numbers, and displays the screen-throwing code on a display screen. After a user manually inputs a screen-throwing code at the screen-throwing sending end, the screen-throwing sending end decodes a communication address corresponding to the screen-throwing sending end based on the screen-throwing code, and establishes wireless screen-throwing connection with a corresponding screen-throwing receiving end based on the communication address. However, because the screen-throwing code composed of letters and numbers is complex, the user can only memorize part of the screen-throwing code when looking at the screen-throwing receiving end each time, and then turn the visual angle to the screen-throwing transmitting end to input part of the screen-throwing code at the screen-throwing transmitting end. Therefore, a user needs to switch the view angle back and forth between the screen-throwing receiving end and the screen-throwing sending end to input the screen-throwing code at the screen-throwing sending end completely without errors, the time for inputting the screen-throwing code is long, and the screen-throwing connection efficiency is low.
Disclosure of Invention
The utility model provides a throw screen connection method, device, equipment and storage medium to replace and throw the screen sign indicating number through the direction sign indicating number, when being convenient for the user to watch the direction sign indicating number of throwing the display of screen receiving terminal, input the slip operation of corresponding direction at throwing the screen transmitting terminal, shorten the time spent of throwing the screen sign indicating number input, improve and throw screen connection efficiency, with the longer problem of consuming time of throwing the screen sign indicating number input among the solution prior art.
In a first aspect, the present application provides a screen-projection connection method, running on a screen-projection receiving end, including:
acquiring first communication address information, and converting the first communication address information into a digital sequence;
converting the digital sequence into a direction symbol sequence based on the association relation between the preset digital characters and the direction symbols;
and displaying the direction symbol sequence on a display screen of the machine, so that a screen-throwing transmitting end sequentially inputs sliding operation corresponding to each direction symbol in the direction symbol sequence, analyzes the first communication address information based on the sliding operation, and establishes screen-throwing connection with a screen-throwing receiving end according to the first communication address information.
In a second aspect, the present application provides a screen-projection connection method, running on a screen-projection transmitting end, including:
Generating corresponding direction symbols according to a plurality of sliding operations which are input currently, and sequentially sequencing the corresponding direction symbols according to the input sequence of the sliding operations to obtain a direction symbol sequence;
converting the direction symbol sequence into a digital sequence based on the association relation between the preset digital character and the direction symbol;
and converting the digital sequence into first communication address information, and establishing screen-throwing connection with a corresponding screen-throwing receiving end according to the first communication address information.
In a third aspect, the present application provides a screen-projection connection device, which operates at a screen-projection receiving end, and includes:
the first address conversion module is configured to acquire first communication address information and convert the first communication address information into a digital sequence;
the digital conversion module is configured to convert the digital sequence into a direction symbol sequence based on the association relation between the preset digital characters and the direction symbols;
the symbol display module is configured to display the direction symbol sequence on a display screen of the display module, so that after a screen projection transmitting end sequentially inputs sliding operation corresponding to each direction symbol in the direction symbol sequence, the first communication address information is analyzed based on the sliding operation, and screen projection connection is established with a screen projection receiving end according to the first communication address information.
In a fourth aspect, the present application provides a screen-throwing connection device, which operates at a screen-throwing transmitting end, and includes:
the sliding operation conversion module is configured to generate corresponding direction symbols according to a plurality of sliding operations which are currently input, and sequentially order the corresponding direction symbols according to the input sequence of the sliding operations to obtain a direction symbol sequence;
the direction conversion module is configured to convert the direction symbol sequence into a digital sequence based on the association relation between the preset digital characters and the direction symbols;
the second address conversion module is configured to convert the digital sequence into first communication address information and establish screen connection with a corresponding screen receiving end according to the first communication address information.
In a fifth aspect, the present application provides a screen projection connection device, including:
one or more processors; and a storage device storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of screen-break connection as described in the first or second aspect.
In a sixth aspect, the present application provides a storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the screen-break connection method of the first or second aspect.
In the application, the screen-throwing receiving end converts the communication address information of the user into the direction symbol sequence for display, so that the user can see the direction symbol sequence displayed by the screen-throwing receiving end and simultaneously input sliding operation corresponding to each direction symbol in the direction symbol sequence input by the screen-throwing transmitting end. The screen throwing transmitting end correspondingly converts the currently input sliding operation into a direction symbol sequence, converts the direction symbol sequence into communication address information of the screen throwing receiving end, and establishes screen throwing connection with the screen throwing transmitting end according to the communication address information. Through the technical scheme, the screen-throwing code is replaced by the direction symbol, so that a user can conveniently input sliding operation in the corresponding direction at the screen-throwing transmitting end while looking at the displayed direction symbol of the screen-throwing receiving end. Compared with the prior art, the screen code is input by users without switching the view angle back and forth between the screen receiving end and the screen sending end, the screen receiving end can be focused on the screen receiving end, the screen sending end can be used for inputting the screen code in a blind operation mode, the convenience of screen code input operation is improved, the time consumption of screen code input is shortened, and the screen connection efficiency is improved.
Drawings
Fig. 1 is a flowchart of a screen connection method running on a screen receiving end according to an embodiment of the present application;
FIG. 2 is a flow chart of octal encoding of address segments of an IP address provided by an embodiment of the present application;
FIG. 3 is a flow chart of determining a first target address segment provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of an association between direction symbols and numeric characters provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a display screen of a screen-casting receiving end provided in an embodiment of the present application;
fig. 6 is a flowchart of a screen connection method running on a screen sending end according to an embodiment of the present application;
fig. 7 is a flowchart of determining an IP address of a screen sending end according to an embodiment of the present application;
FIG. 8 is a flow chart of determining a second target address segment provided by an embodiment of the present application;
fig. 9 is a schematic structural diagram of a screen-projection connection device operating at a screen-projection receiving end according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a screen-projection connection device running on a screen-projection transmitting end according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a screen projection connection device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the following detailed description of specific embodiments thereof is given with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the matters related to the present application are shown in the accompanying drawings. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The screen projection connection method provided in the embodiment may be performed by a screen projection connection device, where the screen projection connection device may be implemented by software and/or hardware, and the screen projection connection device may be formed by two or more physical entities or may be formed by one physical entity. For example, the screen-throwing connection device may be a screen-throwing receiving end and a screen-throwing sending end, or may be processors of the screen-throwing receiving end and the screen-throwing sending end. The screen projection receiving end refers to equipment such as a television and an interactive tablet which can receive interface contents sent by other equipment for display, and the screen projection sending end refers to equipment such as a mobile phone and a computer which send the interface contents to the other equipment so that the other equipment can display the interface contents.
The screen-throwing connection device is provided with at least one type of operating system, and can be used for installing at least one application program based on the operating system, wherein the application program can be an application program of the operating system, or can be an application program downloaded from a third party device or a server. In this embodiment, the screen-connection device has at least an application program that can execute the screen-connection method, and thus the screen-connection device may also be the application program itself, for example, the screen-connection device may be screen-connection application software.
For easy understanding, the present embodiment is described taking the screen-projection transmitting end and the screen-projection receiving end as the main bodies for executing the screen-projection connection method.
In one embodiment, when a user wants to connect a screen-cast sender to a screen-cast receiver, the screen-cast receiver encodes the local IP (Internet Protocol ) address into a screen-cast code composed of 6 or 8 digits and letters, and then displays the screen-cast code on the screen. After a user inputs a screen-throwing code displayed by a screen-throwing receiving end at the screen-throwing sending end, the screen-throwing sending end decodes the screen-throwing code into an IP address of the screen-throwing receiving end, and screen-throwing connection is established with the screen-throwing receiving end according to the IP address. Because the screen-throwing code composed of letters and numbers is complex, a user can only memorize part of the screen-throwing code when looking at the screen-throwing receiving end each time, and then turn the visual angle to the screen-throwing transmitting end to input part of the screen-throwing code at the screen-throwing transmitting end. For example, the screen-throwing code displayed by the screen-throwing receiving end is B58Y2R, and the user generally inputs B58 by turning the viewing angle to the screen-throwing transmitting end after remembering B58, then turns the viewing angle to the screen-throwing receiving end to remember Y2R, and then inputs Y2R by turning the viewing angle to the screen-throwing transmitting end. Therefore, the user needs to switch the view angle back and forth between the screen-throwing receiving end and the screen-throwing sending end at least twice, so that the screen-throwing code can be completely and correctly input at the screen-throwing sending end, and when the screen-throwing code is input each time, the corresponding character keys are needed to be found from the full keyboard with dense key distribution, the time for inputting the screen-throwing code is long, and the screen-throwing connection efficiency is low.
In order to solve the above problems, the present embodiment provides a screen-projection connection method, so as to shorten the time for inputting a screen-projection code and improve the screen-projection connection efficiency.
Fig. 1 is a flowchart of a screen connection method running on a screen receiving end according to an embodiment of the present application. Referring to fig. 1, the screen projection connection method specifically includes:
s110, acquiring first communication address information, and converting the first communication address information into a digital sequence.
The first communication address information refers to an IP address of the screen throwing receiving end. The IP address consists of a four address segment ordering, each address segment may be an eight-bit binary number or a three-bit decimal number.
The present embodiment is described by taking an address field as an example of a three-digit decimal number. And sequencing each decimal number in the IP address according to the sequence of the corresponding address segment to obtain a number sequence. For example, an IP address 172.020.176.058, the IP address may be converted to a sequence of 172020176058 digits.
In this embodiment, the screen projection receiving end may pre-construct a mapping relationship between a digital character and a direction symbol. The number sequence is composed of a plurality of number characters, and if the number sequence contains ten number characters (0-9), the number sequence can be correspondingly converted into direction symbols of ten different directions. However, ten directions are less distinguishable to the user, and a sliding operation corresponding to each direction may cause erroneous input. Eight direction symbols or four direction symbols may be provided to ensure distinguishing between the directions, for example eight direction symbols may include up, down, left, right, up-left, down-left, up-right and down-right, and four direction symbols may include up, down, left and right, which are easily distinguished for the user and have less possibility of erroneous input.
If four direction symbols are set, correspondingly setting four digital characters, wherein the corresponding digital sequences comprise at most the four digital characters; if eight direction symbols are set, eight digital characters are correspondingly set, and the corresponding digital sequences comprise at most eight digital characters. In order to ensure that only eight digital characters or four digital characters can be arranged correspondingly in the digital sequence, the embodiment proposes to correspondingly convert the IP address into the digital sequence consisting of four digital characters of 0 to 3 or eight digital characters of 0 to 7 through quaternary coding or octal coding. Similarly, the screen-throwing receiving end constructs a one-to-one mapping relation between the digital characters of 0 to 3 or 0 to 7 and the direction symbols of up, down, left and right or up, down, left, right, left upper, left lower, right upper and right lower in advance, so as to convert the digital sequence corresponding to the IP address into the direction symbol sequence through the mapping relation.
In an embodiment, under the condition that a one-to-one mapping relation between digital characters of 0-3 and up, down, left and right direction symbols is pre-constructed by a screen-throwing receiving end, the screen-throwing receiving end encodes each decimal number in an IP address into quaternary numbers, and sorts each quaternary number according to the sequence of the corresponding decimal numbers to obtain a digital sequence. Based on the one-to-one mapping relation between 0-3 digital characters and up, down, left and right direction symbols, each digital character in the digital sequence is converted into a corresponding direction symbol, and the direction symbols are ordered according to the sequence of the corresponding digital characters in the digital sequence, so that a direction symbol sequence is obtained.
It should be noted that, each address field in the IP address is a ternary decimal number, and the ternary decimal number is subjected to quaternary encoding, so as to obtain a quaternary decimal number. The four quaternary digits are ordered to obtain a 16-digit sequence, i.e. 16 direction symbols are generated. When a user establishes a screen connection, the sliding operation corresponding to 16 direction symbols is input at the screen sending end, which is a very time-consuming and troublesome operation, and in order to simplify the operation, the number of sliding operations that the user needs to input, namely, the number of direction symbols included in the direction symbol sequence, can be reduced.
In another embodiment, the length of the sequence of digits may be reduced in order to reduce the number of direction symbols contained in the sequence of direction symbols. As can be seen from the above, the reason why the length of the number sequence increases is that each address segment in the IP address is quaternary-coded, so that the three-digit decimal number becomes a quaternary-digit decimal number, and the length of the number sequence also increases from 12 to 16. When the ternary decimal number is subjected to octal coding, the ternary octal number is obtained, and the length of the number sequence is kept unchanged, so that the embodiment provides that each address segment of the IP address is subjected to octal coding to obtain a corresponding number sequence. Illustratively, fig. 2 is a flowchart for octal encoding of each address segment of an IP address provided in an embodiment of the present application. As shown in fig. 2, the step of octal encoding each address segment of the IP address specifically includes S1101-S1102:
S1101, the address segment in the first communication address information is encoded into an octal number.
Illustratively, assuming that the IP address of the screen-drop receiving end is 172.020.176.058, the octal codes of 170, 020, 176 and 058 are respectively obtained to obtain 254, 024, 260 and 072. Sorting 254, 024, 260, and 072 generates a digital sequence of 254024260072.
In an embodiment, to further shorten the length of the digital sequence, the screen-projection receiving end may determine a first target address segment in the local IP address based on a precondition that the screen-projection receiving end and the screen-projection transmitting end are under the same local area network, so as to generate the digital sequence according to the first target address segment. The first target address segment is an address segment with the same sequence but different values in the IP address of the screen throwing receiving end and the IP address of the screen throwing sending end. Fig. 3 is a flowchart illustrating determining a first destination address segment according to an embodiment of the present application. As shown in fig. 3, the step of determining the first destination address segment specifically includes S11011-S11012:
s11011, determining a first target address segment in the first communication address information according to the first subnet mask and/or the address type of the first communication address information.
The first subnet mask refers to a subnet mask of the screen throwing receiving end. When the screen-throwing transmitting end and the screen-throwing receiving end are positioned under the same local area network, the IP address of the screen-throwing transmitting end and the IP address of the screen-throwing receiving end belong to the same address type, and the subnet mask of the screen-throwing receiving end and the subnet mask of the screen-throwing transmitting end are also the same. The screen-throwing transmitting end can determine the address type and the subnet mask of the IP address of the screen-throwing receiving end according to the address type and the subnet mask of the local IP address, and further determine address segments with the same sequence and the same value between the IP address of the screen-throwing transmitting end and the IP address of the screen-throwing receiving end. If the screen-throwing transmitting end acquires the first target address segment, the first target address segment and the address segment with the same sequence and the same value can be combined to obtain the IP address of the screen-throwing receiving end.
In an embodiment, the screen-throwing receiving end determines a first target address segment according to the address type of the local IP address. In an exemplary embodiment, in the case that the first communication address information is of the first address type, determining the last three address segments in the first communication address information as first target address segments; and determining the last two address segments in the first communication address message as first target address segments under the condition that the first communication address message is of the second address type. The first address type comprises a class A address and a class B address, and the second address type comprises a class C address. The IP address range of the A-class address is 010.0.0.0-010.255.255.255, and the IP address range of the B-class address is 172.016.0.0-172.031.255.255, namely the first address segments of the IP addresses of the screen throwing receiving end and the screen throwing sending end are the same, so that the screen throwing receiving end can determine the last three address segments of the local IP address as the first target address segment. When the screen-throwing transmitting end acquires the first target address segment, the first target address segment can be sequenced behind the first address segment of the local IP, and the IP address of the screen-throwing receiving end is obtained. The IP address range of the C-type address is 192.168.0.0-192.168.255.255, namely the first two address segments of the IP addresses of the screen throwing sending end and the screen throwing sending end are the same, so that the screen throwing receiving end can determine that the last two address segments of the local IP address are first target address segments. When the screen-throwing transmitting end acquires the first target address segment, the first target address segment can be sequenced behind the first two address segments of the local IP, and the IP address of the screen-throwing receiving end is obtained.
In another embodiment, the screen-casting receiving end determines the first target address segment according to the local subnet mask. Illustratively, in the case where the first subnet mask is a preset subnet mask, determining a last address fragment in the first communication address message as the first target address fragment; and determining the last two address segments in the first communication address message as first target address segments under the condition that the first subnet mask is a second preset subnet mask. Wherein, the preset subnet mask is 255.255.255.0. When the subnet mask is 255.255.255.0, the IP address range of the corresponding lan is: 010.001.001.0-010.001.001.255, namely the first three address segments of the screen throwing receiving end and the screen throwing sending end under the same local area network are the same, so that the screen throwing receiving end can determine that the last address of the local IP address is the first target address segment. When the screen-throwing transmitting end acquires the first target address segment, the first target address segment can be sequenced behind the first three address segments of the local IP, and the IP address of the screen-throwing receiving end is obtained.
In another embodiment, a minimum number of first destination address segments are determined based on the first subnet mask and the address type of the first communication address information. The screen-throwing receiving end compares the number of the first target address segments determined based on the address type of the local IP address with the number of the first target address segments determined based on the local subnet mask, determines the first target address segments with small number, and performs octal coding on the first target address segments with small number to obtain a digital sequence with short length. For example, assuming that the IP address of the screen-cast receiving end is 192.168.012.188, the subnet mask is 255.255.255.0, and 188 can be used as the first target address segment.
S11012, encoding each first target address segment into octal numbers.
Illustratively, assuming that the first destination address field includes 012 and 188, then the octals 012 and 188 are encoded to obtain 014 and 274, respectively.
S1102, each octal number is sequenced according to the sequence of the corresponding address field, and a number sequence is obtained.
Illustratively, the octal numbers corresponding to each first target address segment are ordered according to the order of the corresponding first target address segments in the IP address of the screen throwing receiving end, and a digital sequence is obtained. For example, 014 and 274 are ordered in the IP address order of 012 and 188 in 192.168.012.188, resulting in a 014274 number sequence.
From the foregoing, it can be seen that, when the types of the subnet mask and the local IP address of the screen-throwing receiving end are based, at most three first target address segments can be determined, and at least one first target address segment can be determined. Correspondingly, the generated digital sequence comprises 9 digital characters at most and 3 digital characters at least, so that the length of the digital sequence is effectively shortened, and the number of direction symbols contained in the direction symbol sequence is further reduced.
S120, converting the digital sequence into a direction symbol sequence based on the association relation between the preset digital characters and the direction symbols.
Illustratively, each digital character in the digital sequence is converted to a corresponding direction symbol based on a direct one-to-one mapping of a preset digital character and the direction symbol. And sequencing the direction symbols according to the sequence of the corresponding digital characters in the digital sequence to obtain a direction symbol sequence.
In one embodiment, the association relationship between the preset digital character and the directional arrow includes: one-to-one mapping of the numeric characters one to eight with the upper, lower, left, right, upper left, lower left, upper right and lower right directional symbols, respectively. Fig. 4 is a schematic diagram illustrating an association relationship between a direction symbol and a numeric character according to an embodiment of the present application. As shown in fig. 4, the digital character "0" is converted into the direction symbol "+_and the digital character" 1 "is converted into the direction symbol" ↗ ", the digital character" 2 "is converted into the direction symbol" → "and the digital character" 3 "is converted into the direction symbol" ↘ ", the digital character" 4 "is converted into the direction symbol", the digital character "5" is converted into the direction symbol "↙", the digital character "6" is converted into the direction symbol "≡", and the digital character "7" is converted into the direction symbol "↖". Assuming that the number sequence is "014274", the number sequence "014274" can be converted into the direction symbol sequence "Σ ↗ → ↖ ∈" based on the association relationship between the number symbol and the direction character in fig. 4.
And S130, displaying the direction symbol sequence on a display screen of the mobile terminal, so that the screen throwing transmitting end sequentially inputs sliding operation corresponding to each direction symbol in the direction symbol sequence, analyzes first communication address information based on the sliding operation, and establishes screen throwing connection with the screen throwing receiving end according to the first communication address information.
Fig. 5 is a schematic diagram of a display screen of a screen-casting receiving end provided in an embodiment of the present application. As shown in fig. 5, the screen-throwing receiving end displays the direction symbol sequence "+. ↗ → ↖" on the display screen, and also displays the number sequence "014274" on the display screen. The user can see the direction symbol sequence displayed by the screen-throwing receiving end, and the sliding operation corresponding to each direction symbol is sequentially input at the screen-throwing sending end according to the sequence of the direction symbol sequence. The sliding operation, for example, the direction symbol "∈" is to slide downward. The user can also look at the digital sequence displayed by the screen-throwing receiving end, and correspondingly input the digital sequence at the screen-throwing sending end.
In this embodiment, after the screen-throwing sending end inputs the sliding operation, the screen-throwing connection method based on the screen-throwing sending end analyzes the IP address of the screen-throwing receiving end corresponding to the sliding operation, so as to establish screen-throwing connection with the screen-throwing receiving end according to the IP address.
Fig. 6 is a flowchart of a screen connection method running on a screen sending end according to an embodiment of the present application. Referring to fig. 6, the screen projection connection method specifically includes:
s210, generating corresponding direction symbols according to a plurality of sliding operations which are currently input, and sequentially sequencing the corresponding direction symbols according to the input sequence of the sliding operations to obtain a direction symbol sequence.
Illustratively, the user looks at the display screen of the screen-casting receiving end as shown in fig. 5, and continuously inputs a sliding operation of sliding up, sliding up right, sliding down, sliding right, sliding up left, and sliding down at the screen-casting transmitting end. In this embodiment, if the screen-throwing transmitting end is a terminal device of a non-touch display screen such as a computer, a sliding operation is input through a mouse or a touch pad of a notebook computer. If the screen throwing transmitting end is a terminal device of a touch display screen such as a mobile phone, the sliding operation can be input through the touch display screen. Further, the screen projection transmitting end generates corresponding direction symbols according to the sliding directions corresponding to the plurality of sliding operations which are continuously input at present. A sliding operation, such as sliding up, generates a direction symbol "+.. And respectively generating corresponding direction symbols by sliding operations of upward sliding, upward sliding to the right, downward sliding, rightward sliding, upward sliding to the left and downward sliding, and sequencing according to the input sequence of the sliding operations to obtain a direction symbol sequence "Σ ↗ → ↖ ∈".
S220, converting the direction symbol sequence into a digital sequence based on the association relation between the preset digital characters and the direction symbols.
In this embodiment, the association relationship between the digital character and the direction symbol set by the screen-projection transmitting end is the same as the association relationship between the digital character and the direction symbol set by the screen-projection receiving end. For example, if the screen-throwing receiving end sets the association relationship as shown in fig. 4, the screen-throwing sending end also sets the association relationship as shown in fig. 4. Based on the association relation, the screen sending end correspondingly converts the direction symbol sequence ' and ' ↗ → ↖ ' into a digital sequence ' 014274 '.
S230, converting the digital sequence into first communication address information, and establishing screen connection with the corresponding screen receiving end according to the first communication address information.
Fig. 7 is a flowchart of determining an IP address of a screen sending end according to an embodiment of the present application. As shown in fig. 7, the step of determining the IP address of the screen sending end specifically includes S2301-S2302:
s2301, the number sequence is divided into at least one octal number of three bits uniformly according to the sequence, and each octal number is encoded into an address field.
S2302, the address segments are ordered according to the sequence of the corresponding octal numbers, and first communication address information is generated.
For example, if the number sequence generated by the screen-throwing transmitting end includes 12 number characters, the 12 number characters may be sequentially divided into four three-bit octal numbers, each octal number may be decimal coded to obtain a corresponding address segment, and all the address segments may be sequentially combined to obtain the IP address of the screen-throwing receiving end. For example, the drop transmitter generates a digital sequence of 254024260072, which is divided into four three-bit octal numbers 254, 024, 260, and 072. Decimal encoding is carried out on 254, 024, 260 and 072 respectively to obtain 170, 020, 176 and 058, and further the IP address of the screen throwing receiving end is 170.020.176.058.
If the number of the digital characters contained in the digital sequence generated by the screen throwing transmitting end is smaller than 12, dividing the digital sequence into N three-bit octal numbers in sequence, and carrying out decimal encoding on each octal number to obtain a first target address segment of the screen throwing receiving end, wherein N is equal to the number of the digital characters in the digital sequence divided by 3. Further, the screen-throwing transmitting end determines a second target address segment in the local IP address based on the precondition that the screen-throwing receiving end and the screen-throwing transmitting end are under the same local area network, and determines the IP address of the screen-throwing receiving segment according to the second target address segment and the first target address segment. The second target address segment is the address segment with the same sequence and the same value as the address segment of the IP address of the screen throwing receiving end in the IP address of the screen throwing sending end.
Fig. 8 is a flowchart illustrating determining a second destination address segment according to an embodiment of the present application. As shown in fig. 8, the step of determining the second destination address segment specifically includes S23021-S23022:
s23021, determining a second destination address segment in the second communication address information according to the second subnet mask and/or the address type of the second communication address information.
The second communication address information number refers to an IP address of the screen throwing sending end, and the second subnet mask refers to the IP address of the screen throwing sending end. The screen throwing sending end can determine the address type and the subnet mask of the IP address of the screen throwing receiving end according to the address type and the subnet mask of the local IP address, and further determine address segments with the same sequence and the same value between the IP address of the screen throwing sending end and the IP address of the screen throwing receiving end, so as to obtain a second target address segment.
In an embodiment, the screen sending end determines the second target address segment according to the address type of the local IP address. In an exemplary embodiment, in the case where the second communication address information is of the first address type, a first address segment in the second communication address information is determined as a second target address segment. And determining the first two address segments in the second communication address information as second target address segments under the condition that the second communication address information is of a second address type. When the screen-throwing transmitting end determines that the address type of the local IP address is the A-type address or the B-type address, the first address segment of the IP address of the screen-throwing transmitting end and the first address segment of the IP address of the screen-throwing receiving end are the same, so that the screen-throwing transmitting end determines the first address segment of the local IP address as a second target address segment, and then sorts the second target address segment in front of the first target address segment to obtain the IP address of the screen-throwing receiving end. When the screen-throwing transmitting end determines that the address type of the local IP address is the C-type address, the first two address segments of the IP addresses of the screen-throwing transmitting end and the screen-throwing receiving end can be determined to be the same, so that the screen-throwing transmitting end determines the first two address segments of the local IP address as a second target address segment, and then arranges the second target address segment in front of the first target address segment to obtain the IP address of the screen-throwing receiving end.
In one embodiment, the screen sending end determines the second target address segment according to the local subnet mask. In an exemplary embodiment, the first three address segments in the second communication address message are determined to be the second target address segment in the case where the second subnet mask is a preset subnet mask. The screen-throwing sending end determines that the subnet mask of the local machine is 255.255.255.0, and can determine that the first three address segments of the IP addresses of the screen-throwing sending end and the screen-throwing receiving end are the same, so that the screen-throwing sending end determines the first three address segments of the local IP address as a second target address segment, and then arranges the second target address segment in front of the first target address segment to obtain the IP address of the screen-throwing receiving end.
In another embodiment, the most number of second destination address segments is determined based on the second subnet mask and the type of second communication address information. The screen sending end compares the number of the second target address segments determined based on the address type of the local IP address with the number of the second target address segments determined based on the local subnet mask, and determines a plurality of second target address segments. For example, assuming that the IP address of the screen-cast sender is 192.168.012.188 and the subnet mask is 255.255.255.0, 192, 168, and 012 can be used as the second destination address field.
It should be noted that, in this embodiment, the method for determining the second target address segment by the screen-throwing sending segment is consistent with the method for determining the first target address segment by the screen-throwing receiving end, so that it can be ensured that the combination of the second target address segment and the first target address segment can obtain the IP address of the screen-throwing receiving end. For example, if the screen-throwing receiving end determines the first target address segment based on the type of the local IP address, the screen-throwing transmitting end determines the second target address segment based on the type of the local IP address.
From the above, it can be seen that, to ensure that the number of the second target address segments and the number of the first target address segments are equal to four, the screen-drop transmitting end may further determine the second target address segments from the local IP address according to the number of the first target address segments generated by the digital sequence. For example, if the number of the first target address segments acquired by the screen sending end is 1, determining the first three address segments in the local IP address as second target address segments; if the number of the first target address segments acquired by the screen sending end is 2, determining the first two address segments in the local IP address as second target address segments; if the number of the first target address segments acquired by the screen sending end is 3, determining the first address segment in the local IP address as a second target address segment.
S23022, combining the second target address segment and the address segment encoded by the octal number to obtain the first communication address information.
Illustratively, when the IP address of the screen-cast receiving end is 192.168.012.188, the screen-cast receiving end determines the first destination address segments 012 and 188 based on the local subnet mask and the address type of the local IP address. The screen sender then converts the digital sequence "014274" into first destination address segments 012 and 188 and determines, based on the local subnet mask and the address type of the local IP address, that the second destination address segment is the first two address segments 192 and 168 of the local IP address. The screen sending end places the first target address segments 012 and 188 behind the second target address segments 192 and 168, and determines that the IP address of the screen receiving end is 192.168.012.188. The screen-throwing transmitting end establishes screen-throwing connection with the screen-throwing receiving end based on the IP address of 192.168.012.188.
In summary, according to the screen connection method provided by the embodiment of the application, the screen receiving end converts the communication address information of the screen into the direction symbol sequence for displaying, so that a user can see the direction symbol sequence displayed by the screen receiving end and simultaneously perform sliding operation corresponding to each direction symbol in the direction symbol sequence input by the screen sending end. The screen throwing transmitting end correspondingly converts the currently input sliding operation into a direction symbol sequence, converts the direction symbol sequence into communication address information of the screen throwing receiving end, and establishes screen throwing connection with the screen throwing transmitting end according to the communication address information. Through the technical scheme, the screen-throwing code is replaced by the direction symbol, so that a user can conveniently input sliding operation in the corresponding direction at the screen-throwing transmitting end while looking at the displayed direction symbol of the screen-throwing receiving end. Compared with the prior art, the screen code is input by users without switching the view angle back and forth between the screen receiving end and the screen sending end, the screen receiving end can be focused on the screen receiving end, the screen sending end can be used for inputting the screen code in a blind operation mode, the convenience of screen code input operation is improved, the time consumption of screen code input is shortened, and the screen connection efficiency is improved.
On the basis of the above embodiment, fig. 9 is a schematic structural diagram of a screen connection device operating at a screen receiving end according to an embodiment of the present application. Referring to fig. 9, the screen projection connection device provided in this embodiment specifically includes: a first address conversion module 31, a digital conversion module 32 and a symbol display module 33.
The first address conversion module is configured to acquire first communication address information and convert the first communication address information into a digital sequence;
the digital conversion module is configured to convert the digital sequence into a direction symbol sequence based on the association relation between the preset digital characters and the direction symbols;
the symbol display module is configured to display the direction symbol sequence on a display screen of the display module, so that after the screen projection transmitting end sequentially inputs sliding operation corresponding to each direction symbol in the direction symbol sequence, first communication address information is analyzed based on the sliding operation, and screen projection connection is established with the screen projection receiving end according to the first communication address information.
On the basis of the above embodiment, the first address conversion module includes: an octal encoding sub-module configured to encode an address segment in the first communication address information into an octal number; the digital sequence generation sub-module is configured to sort each octal number according to the sequence of the corresponding address field to obtain a digital sequence.
On the basis of the above embodiment, the first address conversion module includes: a first address segment determining unit configured to determine a first target address segment in the first communication address information according to the first subnet mask and/or the address type of the first communication address information, the first target address segment being an address segment in the first communication address information which has the same order as the address segment of the second communication address information but has a different value; and an octal encoding unit configured to encode each first target address segment into an octal number.
On the basis of the above embodiment, the first address field determining unit includes: a first address segment determining subunit configured to determine, in the case where the first communication address information is of the first address type, the last three address segments in the first communication address information as first target address segments; and a second address segment determining subunit configured to determine the last two address segments in the first communication address message as the first target address segment, in the case that the first communication address message is of the second address type.
On the basis of the above embodiment, the first address field determining unit includes: and a third address segment determining subunit configured to determine, in the case where the first subnet mask is a preset subnet mask, a last address segment in the first communication address message as the first target address segment.
On the basis of the above embodiment, the first address field determining unit includes: and a fourth address segment determining subunit configured to determine the first target address segment with the least number according to the first subnet mask and the address type of the first communication address information.
On the basis of the above embodiment, the association relationship between the preset digital character and the directional arrow includes: one-to-one mapping of the numeric characters one to eight with the upper, lower, left, right, upper left, lower left, upper right and lower right directional symbols, respectively.
On the basis of the above embodiment, fig. 10 is a schematic structural diagram of a screen-projection connection device running on a screen-projection transmitting end according to an embodiment of the present application. Referring to fig. 10, the screen projection connection device provided in this embodiment specifically includes: a sliding operation conversion module 41, a direction conversion module 42, and a second address conversion module 43.
The sliding operation conversion module is configured to generate corresponding direction symbols according to a plurality of sliding operations which are currently input, and sequentially order the corresponding direction symbols according to the input sequence of the sliding operations to obtain a direction symbol sequence;
the direction conversion module is configured to convert the direction symbol sequence into a digital sequence based on the association relation between the preset digital characters and the direction symbols;
The second address conversion module is configured to convert the digital sequence into first communication address information and establish screen connection with the corresponding screen receiving end according to the first communication address information.
On the basis of the above embodiment, the second address translation module includes: the system comprises an octal decoding submodule, a decoding submodule and a decoding submodule, wherein the octal decoding submodule is configured to divide a digital sequence into at least one octal number with three bits uniformly according to the sequence, and code each octal number into an address field; the first communication address generation sub-module is configured to sort address segments in order of corresponding octaves to generate first communication address information.
On the basis of the above embodiment, the first communication address generation submodule includes: a second address segment determining unit configured to determine a second target address segment in the second communication address information according to the second subnet mask and/or the address type of the second communication address information, where the second target address segment is an address segment in the second communication address information, the order of the address segment is the same as that of the address segment of the first communication address information, and the value of the address segment is the same as that of the address segment of the first communication address information; and the first communication address generation unit is configured to combine the second target address segment and the address segment encoded by the octal number to obtain first communication address information.
On the basis of the above embodiment, the second address field determining unit includes: a fifth address field determining subunit configured to determine, in the case where the second communication address information is of the first address type, a first address field in the second communication address information as a second target address field; and a sixth address segment determining subunit configured to determine the first two address segments in the second communication address communication as the second target address segments, in the case where the second communication address information is of the second address type.
On the basis of the above embodiment, the second address field determining unit includes: a seventh address segment determining subunit configured to determine the first three address segments in the second communication address communication as the second target address segments if the second subnet mask is a preset subnet mask.
On the basis of the above embodiment, the second address field determining unit includes: an eighth address segment determining subunit configured to determine, according to the second subnet mask and the type of the second communication address information, the second destination address segment having the largest number.
Above-mentioned, the screen-throwing connection device provided by the embodiment of the application is that the screen-throwing receiving end displays the communication address information of the screen-throwing receiving end by converting the communication address information of the screen-throwing receiving end into the direction symbol sequence, so that a user can watch the direction symbol sequence displayed by the screen-throwing receiving end and simultaneously input the sliding operation corresponding to each direction symbol in the direction symbol sequence input by the screen-throwing sending end. The screen throwing transmitting end correspondingly converts the currently input sliding operation into a direction symbol sequence, converts the direction symbol sequence into communication address information of the screen throwing receiving end, and establishes screen throwing connection with the screen throwing transmitting end according to the communication address information. Through the technical scheme, the screen-throwing code is replaced by the direction symbol, so that a user can conveniently input sliding operation in the corresponding direction at the screen-throwing transmitting end while looking at the displayed direction symbol of the screen-throwing receiving end. Compared with the prior art, the screen code is input by users without switching the view angle back and forth between the screen receiving end and the screen sending end, the screen receiving end can be focused on the screen receiving end, the screen sending end can be used for inputting the screen code in a blind operation mode, the convenience of screen code input operation is improved, the time consumption of screen code input is shortened, and the screen connection efficiency is improved.
The screen projection connection device provided by the embodiment of the application can be used for executing the screen projection connection method provided by the embodiment, and has corresponding functions and beneficial effects.
Fig. 11 is a schematic structural diagram of a screen projection connection device provided in an embodiment of the present application, and referring to fig. 11, the screen projection connection device includes: processor 51, memory 52, communication device 53, input device 54 and output device 55. The number of processors 51 in the screen-in connection device may be one or more and the number of memories 52 in the screen-in connection device may be one or more. The processor 51, memory 52, communication means 53, input means 54 and output means 55 of the screen-drop connection device may be connected by bus or other means.
The memory 52 is used as a computer readable storage medium, and may be used to store a software program, a computer executable program, and a module, such as program instructions/modules corresponding to the screen connection method of any embodiment of the present application (for example, the first address conversion module 31, the digital conversion module 32, and the symbol display module 33 running in the screen connection device at the screen receiving end, or the sliding operation conversion module 41, the direction conversion module 42, and the second address conversion module 43 running in the screen connection device at the screen transmitting end). The memory 52 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for functions; the storage data area may store data created according to the use of the device, etc. In addition, memory 52 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, the memory may further include memory remotely located with respect to the processor, the remote memory being connectable to the device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication means 53 are for data transmission.
The processor 51 executes various functional applications of the device and data processing by running software programs, instructions and modules stored in the memory 52, i.e. implements the above-described screen-drop connection method.
The input device 54 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the apparatus. The output means 55 may comprise a display device such as a display screen.
The screen projection connection device provided by the embodiment can be used for executing the screen projection connection method provided by the embodiment, and has corresponding functions and beneficial effects.
The embodiment of the application also provides a storage medium containing computer executable instructions, which when executed by a computer processor, are used for executing a screen connection method running on a screen receiving end, and the screen connection method running on the screen receiving end comprises the following steps: acquiring first communication address information, and converting the first communication address information into a digital sequence; converting the digital sequence into a direction symbol sequence based on the association relation between the preset digital characters and the direction symbols; and displaying the direction symbol sequence on a display screen of the machine, so that after the screen-throwing transmitting end sequentially inputs sliding operation corresponding to each direction symbol in the direction symbol sequence, analyzing first communication address information based on the sliding operation, and establishing screen-throwing connection with the screen-throwing receiving end according to the first communication address information. The computer-executable instructions, when executed by the computer processor, are further configured to perform a screen-connection method running on a screen-casting sender, the screen-casting sender method running on the screen-casting sender comprising: generating corresponding direction symbols according to a plurality of sliding operations which are input currently, and sequentially sequencing the corresponding direction symbols according to the input sequence of the sliding operations to obtain a direction symbol sequence; converting the direction symbol sequence into a digital sequence based on the association relation between the preset digital character and the direction symbol; and converting the digital sequence into first communication address information, and establishing screen-throwing connection with the corresponding screen-throwing receiving end according to the first communication address information.
Storage media-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, lanbas (Rambus) RAM, etc.; nonvolatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a second, different computer system connected to the first computer system through a network such as the internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (e.g., in different computer systems connected by a network). The storage medium may store program instructions (e.g., embodied as a computer program) executable by one or more processors.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present application is not limited to the above screen connection method, and may also perform the related operations in the screen connection method provided in any embodiment of the present application.
The screen projection connection device, the storage medium and the screen projection connection equipment provided in the above embodiments may perform the screen projection connection method provided in any embodiment of the present application, and technical details not described in detail in the above embodiments may be referred to the screen projection connection method provided in any embodiment of the present application.
The foregoing description is only of the preferred embodiments of the present application and the technical principles employed. The present application is not limited to the specific embodiments described herein, but is capable of numerous obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the present application. Therefore, while the present application has been described in connection with the above embodiments, the present application is not limited to the above embodiments, but may include many other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (17)

1. The screen projection connection method is operated at a screen projection receiving end and is characterized by comprising the following steps of:
acquiring first communication address information, and converting the first communication address information into a digital sequence;
converting the digital sequence into a direction symbol sequence based on the association relation between the preset digital characters and the direction symbols;
and displaying the direction symbol sequence on a display screen of the machine, so that a screen-throwing transmitting end sequentially inputs sliding operation corresponding to each direction symbol in the direction symbol sequence, analyzes the first communication address information based on the sliding operation, and establishes screen-throwing connection with a screen-throwing receiving end according to the first communication address information.
2. The screen shot connection method according to claim 1, wherein the first communication address information is composed of four address segment sequences; correspondingly, the converting the first communication address information into a digital sequence includes:
encoding an address segment in the first communication address information into an octal number;
and sequencing each octal number according to the sequence of the corresponding address field to obtain the number sequence.
3. The screen-drop connection method of claim 2, wherein encoding the address segment in the first communication address information as an octal number comprises:
Determining a first target address segment in the first communication address information according to a first subnet mask and/or the address type of the first communication address information, wherein the first target address segment is an address segment which has the same sequence as the address segment of the second communication address information but different values in the first communication address information;
each of the first target address segments is encoded as an octal number.
4. A screen shot connection method according to claim 3, wherein said determining a first target address segment in said first communication address information according to an address type of said first communication address information comprises:
determining the last three address segments in the first communication address message as the first target address segment under the condition that the first communication address message is of a first address type;
and determining the last two address segments in the first communication address message as the first target address segment under the condition that the first communication address message is of a second address type.
5. A method of screen-drop connection according to claim 3, wherein determining a first destination address segment in the first communication address information according to a first subnet mask comprises:
And determining the last address segment in the first communication address message as the first target address segment under the condition that the first subnet mask is a preset subnet mask.
6. A method of screen-drop connection according to claim 3, wherein said determining a first destination address segment in said first communication address information based on a first subnet mask and an address type of said first communication address information comprises:
and determining the first target address segment with the minimum number according to the first subnet mask and the address type of the first communication address information.
7. The screen projection connection method according to claim 2, wherein the association relationship between the preset digital character and the directional arrow comprises: one-to-one mapping of the numeric characters one to eight with the upper, lower, left, right, upper left, lower left, upper right and lower right directional symbols, respectively.
8. The screen projection connection method is operated at a screen projection transmitting end and is characterized by comprising the following steps of:
generating corresponding direction symbols according to a plurality of sliding operations which are input currently, and sequentially sequencing the corresponding direction symbols according to the input sequence of the sliding operations to obtain a direction symbol sequence;
Converting the direction symbol sequence into a digital sequence based on the association relation between the preset digital character and the direction symbol;
and converting the digital sequence into first communication address information, and establishing screen-throwing connection with a corresponding screen-throwing receiving end according to the first communication address information.
9. The method of claim 8, wherein converting the digital sequence into the first communication address information comprises:
uniformly dividing the number sequence into at least one octal number with three bits according to the sequence, and encoding each octal number into an address segment;
and sequencing the address segments according to the sequence of the corresponding octal numbers to generate the first communication address information.
10. The screen-drop connection method of claim 9, wherein the sorting the address segments in order of corresponding octal numbers to generate the first communication address information comprises:
determining a second target address segment in the second communication address according to a second subnet mask and/or the address type of the second communication address information, wherein the second target address segment is the address segment which has the same sequence and the same value as the address segment of the first communication address information in the second communication address information;
And combining the second target address segment and the address segment encoded by the octal number to obtain the first communication address information.
11. The method of claim 10, wherein determining a second destination address field in the second communication address message according to the address type of the second communication address message comprises:
determining a first address segment in the second communication address communication as the second target address segment under the condition that the second communication address information is of a first address type;
and determining the first two address segments in the second communication address communication as the second target address segment under the condition that the second communication address information is of a second address type.
12. The method of claim 10, wherein determining a second destination address field in the second communication address message according to the type of the second subnet mask comprises:
and determining the first three address segments in the second communication address communication as the second target address segment under the condition that the second subnet mask is a preset subnet mask.
13. The method for screen-drop connection according to claim 10, wherein said determining a second destination address segment in said second communication address message based on a second subnet mask and a type of second communication address information comprises:
And determining the second target address segment with the largest number according to the second subnet mask and the type of the second communication address information.
14. Throw screen connecting device, operate in throwing screen receiving terminal, its characterized in that includes:
the first address conversion module is configured to acquire first communication address information and convert the first communication address information into a digital sequence;
the digital conversion module is configured to convert the digital sequence into a direction symbol sequence based on the association relation between the preset digital characters and the direction symbols;
the symbol display module is configured to display the direction symbol sequence on a display screen of the display module, so that after a screen projection transmitting end sequentially inputs sliding operation corresponding to each direction symbol in the direction symbol sequence, the first communication address information is analyzed based on the sliding operation, and screen projection connection is established with a screen projection receiving end according to the first communication address information.
15. Throw screen connecting device, operate in throwing screen transmitting terminal, its characterized in that includes:
the sliding operation conversion module is configured to generate corresponding direction symbols according to a plurality of sliding operations which are currently input, and sequentially order the corresponding direction symbols according to the input sequence of the sliding operations to obtain a direction symbol sequence;
The direction conversion module is configured to convert the direction symbol sequence into a digital sequence based on the association relation between the preset digital characters and the direction symbols;
the second address conversion module is configured to convert the digital sequence into first communication address information and establish screen connection with a corresponding screen receiving end according to the first communication address information.
16. A screen projection connection apparatus, comprising: one or more processors; storage means storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of screen-drop connection of any of claims 1-13.
17. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the screen-drop connection method as claimed in any one of claims 1 to 13.
CN202210945319.6A 2022-08-08 2022-08-08 Screen projection connection method, device, equipment and storage medium Pending CN117573052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210945319.6A CN117573052A (en) 2022-08-08 2022-08-08 Screen projection connection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210945319.6A CN117573052A (en) 2022-08-08 2022-08-08 Screen projection connection method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117573052A true CN117573052A (en) 2024-02-20

Family

ID=89883128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210945319.6A Pending CN117573052A (en) 2022-08-08 2022-08-08 Screen projection connection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117573052A (en)

Similar Documents

Publication Publication Date Title
CN107425942B (en) Method and device for sending, forwarding and transmitting data
CN104967721A (en) Method and apparatus for processing unread messages
CN108282164A (en) A kind of data encoding and coding/decoding method and device
CN102156611A (en) Method and apparatus for creating animation message
JP2001519986A (en) Generation and coding of graphic images
CN108848164B (en) Display device connection method, display device and system
CN104202745B (en) A kind of shared method, terminal and communication system of radio network configuration information
CN112565842A (en) Information processing method, device and storage medium
CN114528044A (en) Interface calling method, device, equipment and medium
CN113015019B (en) Data processing method, device and system
CN107835509B (en) Method, device, system, equipment and storage medium for interconnection between equipment
CN108062401B (en) Application recommendation method and device and storage medium
CN113343042A (en) Data fragment storage method and device, electronic equipment and storage medium
CN117573052A (en) Screen projection connection method, device, equipment and storage medium
US7639170B2 (en) System and method for providing operation of internet powered universal remote controller
CN112533185A (en) Sound distribution network method and device, computer equipment and storage medium
CN105323141A (en) Information transmission method and system based on image recognition and mobile terminal
CN108595973B (en) Instruction determination method, equipment control method, device and system
CN115098052B (en) Screen projection method, device, equipment and storage medium
TWI235579B (en) Communication apparatus, communication system, encrypting apparatus information processing apparatus, information processing system, information processing method, and service providing method
CN102760351A (en) Method for implementing remote letter symbol input between intelligent terminals through wireless network
CN115225692B (en) Information processing method, device and storage medium
CN110392124B (en) Method, device and system for generating communication code of electronic equipment and electronic equipment
CN114070470A (en) Encoding and decoding method and device
CN112417326A (en) URL conversion method and 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