CN113158085B - Information switching processing method and device, electronic equipment and storage medium - Google Patents

Information switching processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113158085B
CN113158085B CN202110352844.2A CN202110352844A CN113158085B CN 113158085 B CN113158085 B CN 113158085B CN 202110352844 A CN202110352844 A CN 202110352844A CN 113158085 B CN113158085 B CN 113158085B
Authority
CN
China
Prior art keywords
information
switching
target
client
item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110352844.2A
Other languages
Chinese (zh)
Other versions
CN113158085A (en
Inventor
曾鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN202110352844.2A priority Critical patent/CN113158085B/en
Publication of CN113158085A publication Critical patent/CN113158085A/en
Application granted granted Critical
Publication of CN113158085B publication Critical patent/CN113158085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an information switching processing method, an information switching processing device, electronic equipment and a storage medium. The method comprises the following steps: responding to the change of target information of a client, and acquiring a target switching item adapted to the current target information of the client; the target information comprises M information dimensions, wherein an upper-lower relationship exists between any one of the M information dimensions and at least one other information dimension, M is a positive integer greater than 1, and the target switching item is information switching under at least one information dimension; and adjusting an information tag corresponding to the target information in the client based on the target switching item. Therefore, the information switching guide is accurately and efficiently carried out, and the information switching efficiency and accuracy are improved.

Description

Information switching processing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to an information switching processing method, an information switching processing device, an electronic device, and a storage medium.
Background
For websites, map information software or navigation software, pushing information related to geographic information to clients in pages is a specific application based on geographic information or navigation, and the application can improve the use experience of users. Taking a website as an example, a user may switch to a first page of a corresponding item by clicking on the item content under the page, for example: clicking "Beijing" will jump to the top page of Beijing (city), clicking "Daxing" will jump to the top page of Daxing (county).
In addition, the user may be guided to switch the page information based on the change in the position of the user. When the located city and county of the user are different from the currently selected city or county, the related App can actively prompt the user to switch the home page to the currently located city home page or county home page.
The specific guiding switch to the city home page or the county home page is configured by a switch of a switching item issued by the server. It should be noted that App can only have one home page at the same time, and when the position changes, the possibility of switching to the city home page and the county home page exists, if the server side opens the switches of the two switching items at the same time, the information switching guiding process of the client side will be conflicted, and the problem of disordered information switching is caused.
Disclosure of Invention
The embodiment of the invention provides an information switching processing method, an information switching processing device, electronic equipment and a storage medium, which are used for solving the problem that the existing information switching guiding process is easy to conflict and causes information switching confusion.
In order to solve the technical problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an information switching processing method, including:
Responding to the change of target information of a client, and acquiring a target switching item adapted to the current target information of the client; the target information comprises M information dimensions, wherein an upper-lower relationship exists between any one of the M information dimensions and at least one other information dimension, M is a positive integer greater than 1, and the target switching item is information switching under at least one information dimension;
and adjusting an information tag corresponding to the target information in the client based on the target switching item.
Optionally, the step of obtaining the target switching item adapted to the current target information of the client in response to the change of the target information of the client includes:
responding to the change of target information of a client, and acquiring a switching instruction sent by a server aiming at the target information; the switching instruction comprises N switching items, the switching items are not intersected, the switching items are information switching under at least one information dimension, and N is a positive integer;
and acquiring a target switching item adapted to the current target information of the client from the switching instruction.
Optionally, the step of obtaining the target switching item adapted to the current target information of the client in response to the change of the target information of the client includes:
Responding to the change of target information of a client, acquiring current target information of the client, and uploading the current target information to a server;
acquiring a switching instruction sent by the server aiming at the target information, wherein the switching instruction comprises the target switching item, the target switching item is obtained by the server in an adaptation mode from N switching items according to the current target information of the client, each switching item in the N switching items is not intersected, the switching item is information switching under at least one information dimension, and N is a positive integer.
Optionally, the step of adjusting an information tag corresponding to the target information in the client based on the target switching item includes:
rendering a prompt popup aiming at the target switching item at the client, wherein the prompt popup at least comprises a target control for confirming switching;
and in response to receiving triggering operation of a user on the target control in the client, adjusting an information label corresponding to the target information in the client.
Optionally, the value of M is 2, the value of N is any positive integer from 1 to 4, and the M information dimensions include a city dimension and a county dimension, or a county dimension and a village dimension.
Optionally, the switching item includes at least one of X switching to XY, a first switching item, a second switching item, and a third switching item, the first switching item includes any one of X switching to X ', X switching to X ' Y, the second switching item includes any one of XY switching to X, XY switching to XY ', and the third switching item includes any one of XY switching to X ' Y ', X ' Y switching to X, the X represents any one information item in the first information dimension, the XY represents any one information item in the second information dimension that is superior to X, X ' represents another information item in the first information dimension that is different from X, X ' Y represents any one information item in the second information dimension that is superior to X ', and X ' Y ' represents another information item in the second information dimension that is different from Y.
In a second aspect, an embodiment of the present invention provides another information switching processing method, where the method includes:
acquiring a switching request sent by a client, wherein the switching request is sent under the condition that target information of the client is changed, the target information comprises M information dimensions, and an upper-lower relationship exists between any one of the M information dimensions and at least another information dimension, wherein M is a positive integer greater than 1;
Filtering the initially set switching items to obtain N switching items which are not intersected with each other, wherein N is a positive integer, and the switching items are information switching under at least one information dimension;
and acquiring target switching items adapted to the client from the N switching items according to the current target information of the client so as to adjust information labels corresponding to the target information in the client based on the target switching items.
Optionally, the step of obtaining the target switching item adapted to the client from the N switching items according to the current target information of the client includes:
and generating a switching instruction aiming at the target information based on the N switching items, and sending the switching instruction to the client so that the client can acquire the target switching item adapted to the current target information of the client from the switching instruction, and adjusting an information tag corresponding to the target information in the client based on the target switching item.
Optionally, the step of obtaining the target switching item adapted to the client from the N switching items according to the current target information of the client includes:
Acquiring current target information of the client carried by the switching request, and acquiring target switching items adapted to the client from the N switching items according to the current target information;
and generating a switching instruction aiming at the target information based on the target switching item and sending the switching instruction to the client so that the client can acquire the target switching item adapted to the current target information of the client from the switching instruction, and adjusting an information tag corresponding to the target information in the client based on the target switching item.
In a third aspect, an embodiment of the present invention provides an information switching processing apparatus, including:
the first switching item adaptation module is used for responding to the change of the target information of the client and acquiring a target switching item adapted to the current target information of the client; the target information comprises M information dimensions, wherein an upper-lower relationship exists between any one of the M information dimensions and at least one other information dimension, M is a positive integer greater than 1, and the target switching item is information switching under at least one information dimension;
and the information switching processing module is used for adjusting the information tag corresponding to the target information in the client based on the target switching item.
Optionally, the first switching item adapting module includes:
the first switching instruction acquisition sub-module is used for responding to the change of target information of the client and acquiring a switching instruction sent by the server aiming at the target information; the switching instruction comprises N switching items, the switching items are not intersected, the switching items are information switching under at least one information dimension, and N is a positive integer;
and the first switching item adaptation sub-module is used for acquiring the target switching item adapted by the current target information of the client from the switching instruction.
Optionally, the first switching item adapting module includes:
the target information uploading sub-module is used for responding to the change of the target information of the client, acquiring the current target information of the client and uploading the current target information to the server;
the second switching item adaptation sub-module is used for acquiring a switching instruction sent by the server aiming at the target information, wherein the switching instruction comprises the target switching item, the target switching item is adapted by the server from N switching items according to the current target information of the client, each switching item in the N switching items is not intersected, the switching item is information switching under at least one information dimension, and N is a positive integer.
Optionally, the information switching processing module includes:
the prompt popup rendering sub-module is used for rendering a prompt popup aiming at the target switching item at the client, and the prompt popup at least comprises a target control for confirming switching;
and the information switching processing sub-module is used for responding to the received triggering operation of a user for the target control in the client, and adjusting the information label corresponding to the target information in the client.
Optionally, the value of M is 2, the value of N is any positive integer from 1 to 4, and the M information dimensions include a city dimension and a county dimension, or a county dimension and a village dimension.
Optionally, the switching item includes at least one of X switching to XY, a first switching item, a second switching item, and a third switching item, the first switching item includes any one of X switching to X ', X switching to X ' Y, the second switching item includes any one of XY switching to X, XY switching to XY ', and the third switching item includes any one of XY switching to X ' Y ', X ' Y switching to X, the X represents any one information item in the first information dimension, the XY represents any one information item in the second information dimension that is superior to X, X ' represents another information item in the first information dimension that is different from X, X ' Y represents any one information item in the second information dimension that is superior to X ', and X ' Y ' represents another information item in the second information dimension that is different from Y.
In a fourth aspect, an embodiment of the present invention provides another information switching processing apparatus, including:
a switching request receiving module, configured to obtain a switching request sent by a client, where the switching request is sent when target information of the client changes, the target information includes M information dimensions, and an upper-lower relationship exists between any one of the M information dimensions and at least another information dimension, where M is a positive integer greater than 1;
the switching item filtering module is used for filtering the initially set switching items to obtain N switching items which are not intersected with each other, wherein N is a positive integer, and the switching items are information switching under at least one information dimension;
and the second switching item adapting module is used for acquiring the target switching item adapted by the client from the N switching items according to the current target information of the client so as to adjust the information label corresponding to the target information in the client based on the target switching item.
Optionally, the second switching item adapting module is specifically configured to:
and generating a switching instruction aiming at the target information based on the N switching items, and sending the switching instruction to the client so that the client can acquire the target switching item adapted to the current target information of the client from the switching instruction, and adjusting an information tag corresponding to the target information in the client based on the target switching item.
Optionally, the second switching item adapting module is specifically configured to:
acquiring current target information of the client carried by the switching request, and acquiring target switching items adapted to the client from the N switching items according to the current target information;
and generating a switching instruction aiming at the target information based on the target switching item and sending the switching instruction to the client so that the client can acquire the target switching item adapted to the current target information of the client from the switching instruction, and adjusting an information tag corresponding to the target information in the client based on the target switching item.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the information switching processing method according to the first or second aspect.
In a sixth aspect, an embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the computer program implements the steps of the information switching processing method according to the first or second aspect when executed by a processor.
In the embodiment of the invention, a target switching item adapted to the current target information of a client is obtained in response to the change of the target information of the client; the target information comprises M information dimensions, wherein an upper-lower relationship exists between any one of the M information dimensions and at least one other information dimension, M is a positive integer greater than 1, and the target switching item is information switching under at least one information dimension; and adjusting an information tag corresponding to the target information in the client based on the target switching item. Therefore, the information switching guide is accurately and efficiently carried out, and the information switching efficiency and accuracy are improved.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of steps of an information switching processing method in an embodiment of the invention;
FIG. 2 is a flow chart of steps of another information switching processing method in an embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of another information switching processing method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of the structure of an information switching processing apparatus in the embodiment of the present invention;
fig. 5 is a schematic diagram of a configuration of another information switching processing apparatus in the embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flowchart of steps of an information switching processing method in an embodiment of the present invention is shown. The method can be applied to the client.
Step 110, responding to the change of the target information of the client, and acquiring a target switching item adapted to the current target information of the client; the target information comprises M information dimensions, wherein an upper-lower relationship exists between any one of the M information dimensions and at least one other information dimension, M is a positive integer greater than 1, and the target switching item is information switching under at least one information dimension;
and step 120, adjusting an information tag corresponding to the target information in the client based on the target switching item.
As described above, in practical application, when information is switched, because the value of the information tag displayed at the same time is fixed, if there is a partial intersection between two switching items corresponding to the target information, when information is switched, only one of the two switching items can be selected, but two cannot be selected at the same time. For example, when the location tag of the client is switched, if it is switched from one city a to another city B in the next county region B1, it is generally required to switch from city a to city B first and then from city B to the county region B1 in the next county region B1 in the city B second, since it is seen that the process of switching from one city a to another city B in the next county region B1 intersects with the process of switching from city a to city B in a partial flow, that is, only one of the two switching modes can occur simultaneously, and the two modes conflict with each other. In practical applications, if the two switching modes are provided for the same user at the same time, information switching of the client is disordered.
Therefore, in the embodiment of the present invention, in order to avoid providing a conflicting switching item when information switching is performed, analysis may be performed in advance for an application scenario of information switching to obtain intersecting switching items, that is, switching items that conflict with each other, so that when disjoint switching items are provided to a client, the client may obtain, based on current target information of the client, a target switching item adapted to the client from at least one disjoint switching item that has been issued to a local area of the client by a server. In addition, the server may also directly provide a target switching item to the client, for example, obtain real-time target information of the client, and further obtain, from at least one disjoint switching item, a target switching item adapted to current target information of the client, and send the target switching item to the client. Alternatively, the server may directly issue a switching item as the target switching item to the client without acquiring the target information of the client, and so on. That is, in the embodiment of the present invention, the target switching item adapted to the current target information of the client may be obtained locally from the client, or may be issued to the client by the server under the condition that the target information of the client changes.
In practical applications, if the information of the switch is the switch between the information items in the same information dimension, for example, the switch between different cities in the city dimension, or the switch between different counties in the county dimension, etc., no conflict will generally occur. However, when information switching between a plurality of information dimensions having a hierarchical relationship is involved, for example, the city dimension and the county dimension described above, conflicting switching items are likely to occur, such as switching between cities and cities, switching between cities and another county region under a city, and the like.
Therefore, in the embodiment of the present invention, the target information may include M information dimensions, where at least a lower-level relationship exists between any one of the M information dimensions and another information dimension, and M is a positive integer greater than 1. Of course, in the embodiment of the present invention, a certain information dimension of the M information dimensions may have a superior-inferior relationship with a plurality of other information dimensions, which is not limited to the embodiment of the present invention. Other information dimensions may be understood as other information dimensions than the information dimension among the M information dimensions. The information dimension may be correspondingly different according to the application scenario. For example, in the case where the target information is location information, the information dimension may include a country dimension, a province dimension, a city dimension, a county dimension, a town dimension, a country dimension, and the like, in the case where the target information is department level information, the information dimension may include a head office dimension, a branch office dimension, a department dimension, a project group dimension, and the like, and in the case where the target information is job information, the information dimension may include a CEO dimension, a manager dimension, a head office dimension, a sub head office dimension, a group length dimension, a group member dimension, and the like.
After determining a target switching item adapted to a client, an information tag corresponding to the target information in the client can be adjusted based on the target switching item. For example, taking the target information as the location information as an example, assuming that the currently determined target switching item adapted to the client is a switch between city dimensions and the location information of the client is switched from beijing to Tianjin, then the tag of the location information in the client may be switched from "beijing" to "Tianjin".
In addition, when the information tag corresponding to the target information in the client is adjusted, since the current application scene may be an APP or a web page, the information tag in the APP or the web page may be switched accordingly. In addition, the display content in the pages under different information labels can be adjusted accordingly. For example, when the information label of a certain page is switched from "Beijing" to "Tianjin", the display content in the page can be correspondingly adjusted to the relevant information in the "Tianjin" city.
Referring to fig. 2, in an embodiment of the present invention, the step 110 may further include:
step A111, responding to the change of target information of a client, and acquiring a switching instruction sent by a server aiming at the target information; the switching instruction comprises N switching items, the switching items are not intersected, the switching items are information switching under at least one information dimension, and N is a positive integer;
And step A112, obtaining the target switching item adapted to the current target information of the client from the switching instruction.
Specifically, in an application scenario of switching target information, the client may detect the target information in real time and compare the target information with the previous target information to determine whether the target information changes, if the target information changes, the server may be requested to issue a switching item to obtain a target switching item adapted to the current target information of the client, and the server may send a switching instruction for the target information to the client in response to the request of the client. At this time, the switching instruction may carry N switching items, where N is a positive integer, and each switching item is not intersected. Of course, the server may also detect whether the target information of the client changes, and if so, may actively acquire the target switching item adapted to the current target information of the client, or send a switching instruction for the target information to the client, so that the client acquires the target switching item adapted to the current target information of the client from the switching instruction again.
After receiving the switching instruction, the client can acquire the target switching item adapted to the current target information of the client from the switching instruction, and at this time, as each switching item carried in the switching instruction is not intersected, multiple switching items available to the client at the same time cannot exist, namely, the target switching item is unique, and further, the information tag corresponding to the target information in the client is adjusted based on the target switching item.
Taking the target information as the location information as an example, if the location information includes two information dimensions of a city dimension and a county dimension, it is assumed that the city is represented by a variable X and the county is represented by a variable Y. The city-to-city exchange is denoted as X- > X', and the city-to-county exchange is denoted as X- > Y; the exchange of county domains with county domains is denoted Y- > Y', and the exchange of county domains with cities is denoted Y- > X. However, at this time, the city belongs to the upper level of the county region, and the county region belongs to the lower level of the city, and the mere representation of the county region by the variable Y is not sufficient and accurate, so that the county region XY with the affiliated relationship can be represented more accurately by adding the city variable X in front of the original county region variable Y. After the upper and lower relationship is added, the city and the exchanged are also expressed as X- > X' because the lower relationship is not related to the mutual exchange; the exchange of cities and counties needs to consider whether the target county is the same as the current city, the same can be represented by X- > XY, and different can be represented by X- > X' Y. Similarly, the exchange between the county and the established county also considers whether the target county is the same as the city in which the current county is located, and the same can be represented by XY- > XY ', and different can be represented by X ' Y- > XY '; the exchange of county and city is considered to be the case of whether the target city is the same as the city in which the current county is located, the same may be represented by XY- > X, and different may be represented by X' Y- > X.
As can be seen from the above various exchange items, when a city is switched, X- > X 'is included in X- > X' Y; when switching county regions, XY- > XY 'may include XY- > X, and X' Y- > XY 'may include X' Y- > X. I.e. the two exchanges of each group intersect each other, it is not possible to coexist in order to avoid collisions.
Assume that the currently displayed position tag in a certain web page or App page of the client is "beijing city". If the client detects that the positioning information of the client changes, for example, the client changes from Beijing to Tianjin city and county, the switching item provided to the client by the server includes X- > XY, X- > X ', XY- > XY' and X 'Y- > XY'. At this time, for the client, a switch between cities may be performed, or a switch between a city and another city and county domain may be performed, that is, the target switching item adapted by the current target information is X- > X' as described above. Further, the client may switch the information tag corresponding to the target information, that is, the position tag of the position information, to "Tianjin city".
In addition, if the information tag is an information tag of a certain page in the client, and if the data displayed in the page can be adjusted along with the information tag, then after the information tag of the page is switched, the page data in the page can be correspondingly adjusted so as to ensure that the page data is matched with the real-time target information in the client.
In addition, in the embodiment of the present invention, if the value of M is 2, the target switching item may be determined with reference to the above example of the city dimension and the county dimension. If the value of M is an integer greater than 2, then the M information dimensions may be split into a plurality of combinations of 2 information dimensions with reference to the upper-lower relationships between the respective information dimensions, and the target switching item may be determined with reference to the above example of the city dimension and the county dimension.
For example, assuming that the target information includes 3 information dimensions, namely, a city dimension, a county dimension and a town dimension, then the city dimension and the county dimension may be used as a combination of information dimensions with a superior-subordinate relationship, and the county dimension and the town dimension may be used as another combination of information dimensions with a superior-subordinate relationship, to determine available switching items and target switching items adapted by the client, respectively, so as to perform information switching.
In addition, in order to avoid the existence of intersected switching items among the switching items under each information dimension combination, the switching items under each information dimension combination can be considered at the same time, and when the client is required to provide the switching items, the disjoint switching items are screened from the switching items and provided for the client.
In addition, in practical applications, the switching item provided by the server may not necessarily include the target switching item currently adapted by the client. For example, in the case where the target information is the location information, the location tag currently displayed on a certain web page or App page of the client is "beijing city". If the client detects that the positioning information of the client changes, for example, from "Beijing" to a county domain in Tianjin city, the switching item provided by the server to the client is assumed to include the above-mentioned X- > XY, XY- > XY ' and X ' Y- > XY ', and at this time, a prompt message that cannot be adapted may be fed back to the server to prompt the server to adjust the issued switching item, which is not limited in this embodiment of the present invention.
Referring to fig. 2, in an embodiment of the present invention, step 110 may further include:
step B111, responding to the change of the target information of the client, acquiring the current target information of the client, and uploading the current target information to a server;
and step B112, acquiring a switching instruction sent by the server aiming at the target information, wherein the switching instruction comprises the target switching item, the target switching item is obtained by the server in an adapting way from N switching items according to the current target information of the client, each switching item in the N switching items is not intersected, the switching item is information switching under at least one information dimension, and N is a positive integer.
On the other hand, the process of acquiring the target switching items adapted to the client from the N switching items that are not intersected with each other may be performed on the server side, and then the current target information of the client may be acquired and uploaded to the server when the change of the target information of the client is detected, and the server may adapt to the target switching items of the client from the N switching items that are not intersected with each other according to the current target information of the client, and issue the target switching items to the client through the switching instruction.
The N switching items which are not intersected with each other and provided by the server each time can be selected from the alternative switching items based on the intersection relation existing among the alternative switching items. Moreover, when the target switching item of the client is acquired, if there is no target switching item adapted to the current target information of the client in the current N mutually exclusive switching items, the N mutually exclusive switching items may be further updated, another N mutually exclusive switching items may be selected from the respective alternative switching items to acquire the target switching item of the client therefrom until the target switching item of the client is adapted, or it may be confirmed that each switching item is not adapted to the current target information of the client, and so on. Of course, in the embodiment of the present invention, it may also be set that the target switching item of the client is obtained from the current N switching items that do not intersect with each other, instead of updating the N switching items that do not intersect with each other.
Referring to fig. 2, in an embodiment of the present invention, step 120 may further include:
step 121, rendering a prompt popup aiming at the target switching item at the client, wherein the prompt popup at least comprises a target control for confirming switching;
and step 122, in response to receiving triggering operation of a user on the target control in the client, adjusting an information label corresponding to the target information in the client.
In practical application, under the condition that the target information of the target client is changed, the user of the client may not want to change the information label therein, and if the information label corresponding to the target information of the client is directly adjusted, the user may also need to manually restore the information label therein to be original, thereby affecting the user experience.
Therefore, in the embodiment of the invention, after the target switching item is determined and before the information label is switched, a prompt popup window aiming at the target switching item can be rendered at the client, wherein the prompt popup window at least comprises a target control for confirming the switching, and at the moment, a client user can trigger the target control in a click mode or the like to trigger the adjustment aiming at the information label.
For the client, if a triggering operation of the user for the target control in the prompt popup window is received, an information label corresponding to the changed target information can be adjusted at the client.
The appearance, the initial display position and other attributes of the prompt popup window can be set in a self-defined mode according to requirements, and the embodiment of the invention is not limited.
Optionally, in an embodiment of the present invention, the value of M is 2, the value of N is any positive integer from 1 to 4, and the M information dimensions include a city dimension and a county dimension, or a county dimension and a village-town dimension.
Taking the value of M as 2 as an example, it is assumed that the information dimension at this time includes a city dimension and a county dimension, and the two information dimensions can be represented by two variables respectively. Two different variable switches are in fact a kind of exchange relationship, which includes exchange with information items in the own dimension and exchange with information items in the non-existing dimension. Further, regarding two information dimensions in which there are upper and lower relationships, it is considered whether there is also an exchange relationship in the upper stage when the exchange in the lower stage is concerned. Then, all the exchange items are represented by variables, and these are all the switching scenarios with the upper and lower relationships. Further, by analyzing the exchange items of all the variables, finding that there is an exchange item containing and being contained, and that there is a containing relationship, that is, two exchange items of intersecting relationship, consider that there is a conflict.
Through the analysis result, the configuration mode of the switching item which can be issued to the client can be determined, wherein the switching item can be represented by a switch instruction, the value of the switch instruction can be 0 or 1, and when the value of a certain switch instruction is set to be 1, namely the switch is in a closed state, the execution of the switching item corresponding to the switch instruction can be triggered. Then from the above analysis results, the configuration protocol of the switch instruction (e.g., a prompt pop-up window for controlling the individual switching items in different scenarios, etc.) may be determined. The configuration of the switch instruction generally refers to a scenario that a batch of instructions issued by a server to a client is used for batch control or operation is nand.
It should be noted that the N switching items provided by different websites or App servers may be different, which is not limited to the embodiment of the present invention.
Optionally, in an embodiment of the present invention, the switching item includes at least one of X switching to XY, a first switching item including any one of X switching to X ', X switching to X ' Y, a second switching item including any one of XY switching to X, XY switching to XY ', and a third switching item including any one of XY switching to X ' Y ', X ' Y switching to X, where X represents any one information item in the first information dimension, XY represents any one information item in the second information dimension that is superior to X, X ' represents another information item in the first information dimension that is different from X, X ' Y represents any one information item in the second information dimension that is superior to X ', and X ' Y ' represents another information item in the second information dimension that is different from Y.
Taking the city dimension and the county dimension as examples, the specific implementation steps of the analysis and determination process of the switching item may be as follows:
1) Assume that an information item in the city dimension (e.g., beijing city, tianjin city, etc.) is represented by a variable X, and an information item in the county dimension (e.g., daxing region, nanking region) is represented by a variable Y.
2) The exchange of cities with cities, i.e. the switching of information items in the city dimension may be denoted as X- > X' (e.g. beijing city switches to Tianjin city), the exchange of cities with county-regions, i.e. the switching of information items in the city dimension to county-region dimension may be denoted as X- > Y (e.g. beijing city switches to daxing region); the exchange of county and county domains, i.e. the switching of information items in the county domain dimension may be denoted Y- > Y' (e.g. the switching of the da xing region to the nan-opening region), the exchange of county and city, i.e. the switching of information items in the county domain dimension to the city dimension may be denoted Y- > X (e.g. the switching of the da xing region to the beijing city). Where- > represents a switching relationship.
3) The city belongs to the upper level and is represented by a single X variable; the county region belongs to the lower level of the city, and the simple variable Y indicates that the county region is not sufficient, so that the county region XY with the affiliated relationship can be more accurately represented by adding the city variable X in front of the original county region variable Y.
4) After the upper and lower relationships are added, the cities and the cities have no lower relationships, so that the cities and the cities are mutually exchanged and are represented by X- > X' (for example, beijing city is switched to Tianjin city); the exchange between cities and county regions needs to consider whether the target county region is the same as the current city or not, the same is represented by X- > XY (for example, beijing city is switched to Beijing city Daxing region), and the different is represented by X- > X' Y (for example, beijing city is switched to Tianjin city south opening region). Similarly, the exchange between the county and the already-existing county is also considered to be the same as the city in which the current county is located, the same is represented by XY- > XY ' (for example, the beijing city is switched to the beijing city, the da xing area), and the different is represented by X ' Y- > XY ' (for example, the Tianjin south opening area is switched to the beijing city, the da xing area); the exchange between county and city is considered to be the case that whether the target city is the same as the city in the current county, the same is represented by XY- > X (for example, the beijing da xing area is switched to beijing city), and the different is represented by X' Y- > X (for example, the beijing da xing area is switched to Tianjin city).
5) As can be seen in the above exchange: when city switching, X- > X 'is contained by X- > X' Y, namely X is switched to Y at the lower stage of X ', and the switching to X' is needed first; in the county-domain switching, there is a case where XY- > XY ' includes XY- > X, that is, switching from Y to Y ' in the same X lower stage, first switching to X, then entering into Y ' Y- > XY ' in the X lower stage includes X ' Y- > X, that is, switching from Y in the X ' lower stage to Y ' in the X lower stage, first switching from Y in the X ' lower stage to X, and then entering into Y ' in the X lower stage.
6) The result in step 4) has 7 exchanges altogether, and the 7 exchanges contain 3 conflict relations in step 5); that is, the number of exchange items that can exist simultaneously is at most 4, that is, the value of N may be any positive integer from 1 to 4, taking the conflict relationship into consideration. The content and the number of the exchange items which exist at the same time can be set by a manager at the server according to the requirement in a self-defining way, and the embodiment of the invention is not limited. But it is necessary to ensure that there is no case of inclusion and inclusion between the respective switching items, i.e., there is no conflicting relationship caused by intersection.
When the server transmits the switch configuration protocol characterizing the switching items to the client, the server can effectively avoid simultaneously transmitting conflicting switch instructions, and at most, the server turns on the switch instructions of 4 switching items.
Through the process, the conflicting switch instructions of the server can be screened. Meanwhile, the client terminal also screens the positioning data of various scenes and finally matches the positioning data to at most one switch instruction.
At this time, the city dimension may be understood as a first information dimension, and the county dimension may be understood as a second information dimension.
Through the evolution of the design thought and the realization of the steps, the finally produced model can completely, efficiently, accurately and conflict-free solve the problem of the switch configuration of the mutual switching between the city and the county.
Referring to fig. 3, a flowchart of steps of another information switching processing method in an embodiment of the present invention is shown. The method can be applied to a server.
Step 210, acquiring a switching request sent by a client, wherein the switching request is sent under the condition that target information of the client is changed, the target information comprises M information dimensions, and an upper-lower relationship exists between any one of the M information dimensions and at least another information dimension, wherein M is a positive integer greater than 1;
step 220, filtering the initially set switching items to obtain N switching items which are not intersected with each other, wherein N is a positive integer, and the switching items are information switching under at least one information dimension;
step 230, according to the current target information of the client, obtaining the target switching item adapted to the client from the N switching items, so as to adjust an information tag corresponding to the target information in the client based on the target switching item.
In practical application, when a server issues a switching item, if conflict relationships existing between various switching items cannot be comprehensively considered, conflict relationships may exist between switching items issued to a client, and further, a situation of simultaneously adapting to a plurality of target switching items may occur, which causes information switching confusion of the client.
Therefore, in the embodiment of the present invention, before the server side issues the switching items, the switching items initially set by the server forgiving may be filtered based on whether the switching items obtained by the pre-analysis are intersected with each other, so as to obtain N switching items that are not intersected with each other, that is, the N switching items. And then, generating a switching instruction sent aiming at the target information based on at least one switching item obtained after filtering, and sending the switching instruction to the client.
Optionally, in an embodiment of the present invention, the step 230 may further include:
and step A231, generating a switching instruction aiming at the target information based on the N switching items, and sending the switching instruction to the client so that the client can acquire the target switching item adapted to the current target information of the client from the switching instruction, and adjusting an information tag corresponding to the target information in the client based on the target switching item.
Optionally, in an embodiment of the present invention, the step 230 may further include:
step B231, acquiring current target information of the client carried by the switching request, and acquiring target switching items adapted by the client from the N switching items according to the current target information;
And step B232, generating a switching instruction aiming at the target information based on the target switching item and sending the switching instruction to the client so that the client can acquire the target switching item adapted to the current target information of the client from the switching instruction, and adjusting an information tag corresponding to the target information in the client based on the target switching item.
The implementation details of the above steps, the analysis process of the relationship between the switching items, and the related steps executed between the client and the server are similar to those of the above embodiments, and specific reference may be made to the above embodiments, which are not repeated herein.
In the embodiment of the invention, through model analysis, a switching item for mutually switching information items in a plurality of information dimensions with upper and lower relationships between cities, counties and the like is constructed in advance; through a model algorithm, the inclusion relation among the switching items, namely the crossed conflict items, is analyzed; finally, the server side issues the switching items after the conflict items are eliminated, namely, the switching items which are mutually not intersected are not existed, so that guidance such as App or webpage of the client side can be accurately controlled to switch information. Therefore, the situation of human analysis errors can be eliminated, the logic judgment processing burden of the client to various situations is reduced, the analyzed conflict relation is more perfect and accurate, and the accuracy and the processing efficiency of information switching processing can be improved.
Referring to fig. 4, a schematic diagram of an information switching processing apparatus according to an embodiment of the present invention is shown.
The information switching processing device of the embodiment of the invention comprises: a first switching item adaptation module 310 and an information switching processing module 320.
The functions of the modules and the interaction relationship between the modules are described in detail below.
A first switching item adapting module 310, configured to obtain a target switching item adapted by current target information of a client in response to a change of target information of the client; the target information comprises M information dimensions, wherein an upper-lower relationship exists between any one of the M information dimensions and at least one other information dimension, M is a positive integer greater than 1, and the target switching item is information switching under at least one information dimension;
and the information switching processing module 320 is configured to adjust an information tag corresponding to the target information in the client based on the target switching item.
Optionally, in an embodiment of the present invention, the first switching term adapting module 310 may further include:
the first switching instruction acquisition sub-module is used for responding to the change of target information of the client and acquiring a switching instruction sent by the server aiming at the target information; the switching instruction comprises N switching items, the switching items are not intersected, the switching items are information switching under at least one information dimension, and N is a positive integer;
And the first switching item adaptation sub-module is used for acquiring the target switching item adapted by the current target information of the client from the switching instruction.
Optionally, in an embodiment of the present invention, the first switching term adapting module 310 may further include:
the target information uploading sub-module is used for responding to the change of the target information of the client, acquiring the current target information of the client and uploading the current target information to the server;
the second switching item adaptation sub-module is used for acquiring a switching instruction sent by the server aiming at the target information, wherein the switching instruction comprises the target switching item, the target switching item is adapted by the server from N switching items according to the current target information of the client, each switching item in the N switching items is not intersected, the switching item is information switching under at least one information dimension, and N is a positive integer.
Optionally, in an embodiment of the present invention, the information switching processing module 320 may further include:
the prompt popup rendering sub-module is used for rendering a prompt popup aiming at the target switching item at the client, and the prompt popup at least comprises a target control for confirming switching;
And the information switching processing sub-module is used for responding to the received triggering operation of a user for the target control in the client, and adjusting the information label corresponding to the target information in the client.
Optionally, in an embodiment of the present invention, the value of M is 2, the value of N is any positive integer from 1 to 4, and the M information dimensions include a city dimension and a county dimension, or a county dimension and a village-town dimension.
Optionally, in an embodiment of the present invention, the switching item includes at least one of X switching to XY, a first switching item including any one of X switching to X ', X switching to X ' Y, a second switching item including any one of XY switching to X, XY switching to XY ', and a third switching item including any one of XY switching to X ' Y ', X ' Y switching to X, where X represents any one information item in the first information dimension, XY represents any one information item in the second information dimension that is superior to X, X ' represents another information item in the first information dimension that is different from X, X ' Y represents any one information item in the second information dimension that is superior to X ', and X ' Y ' represents another information item in the second information dimension that is different from Y.
Referring to fig. 5, a schematic diagram of another information switching processing apparatus according to an embodiment of the present invention is shown.
The information switching processing device of the embodiment of the invention comprises: a handover request receiving module 410, a handover entry filtering module 420, and a second handover entry adaptation module 430.
The functions of the modules and the interaction relationship between the modules are described in detail below.
A switching request receiving module 410, configured to obtain a switching request sent by a client, where the switching request is sent when target information of the client changes, the target information includes M information dimensions, and an upper-lower relationship exists between any one of the M information dimensions and at least another information dimension, where M is a positive integer greater than 1;
the switching item filtering module 420 is configured to filter the initially set switching items to obtain N switching items that are not intersected with each other, where N is a positive integer, and the switching items are information switching under at least one information dimension;
and the second switching item adapting module 430 is configured to obtain, according to current target information of the client, a target switching item adapted by the client from the N switching items, so as to adjust an information tag corresponding to the target information in the client based on the target switching item.
Optionally, in an embodiment of the present invention, the second switching item adapting module is specifically configured to:
and generating a switching instruction aiming at the target information based on the N switching items, and sending the switching instruction to the client so that the client can acquire the target switching item adapted to the current target information of the client from the switching instruction, and adjusting an information tag corresponding to the target information in the client based on the target switching item.
Optionally, in an embodiment of the present invention, the second switching item adapting module is specifically configured to:
acquiring current target information of the client carried by the switching request, and acquiring target switching items adapted to the client from the N switching items according to the current target information;
and generating a switching instruction aiming at the target information based on the target switching item and sending the switching instruction to the client so that the client can acquire the target switching item adapted to the current target information of the client from the switching instruction, and adjusting an information tag corresponding to the target information in the client based on the target switching item.
The information switching processing device provided by the embodiment of the present invention can implement each process implemented in the method embodiments of fig. 1 to 3, and in order to avoid repetition, a detailed description is omitted here.
Preferably, the embodiment of the present invention further provides an electronic device, including: the processor, the memory, store the computer program that can run on the processor on the memory, this computer program realizes each process of the above-mentioned information switching processing method embodiment when being carried out by the processor, and can reach the same technical result, in order to avoid repetition, will not be repeated here.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, realizes the processes of the above information switching processing method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor 510, and power source 511. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 6 is not limiting of the electronic device and that the electronic device may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. In the embodiment of the invention, the electronic equipment comprises, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer and the like.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the downlink data with the processor 510; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 may also communicate with networks and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 502, such as helping the user to send and receive e-mail, browse web pages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 500. The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used for receiving an audio or video signal. The input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, the graphics processor 5041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. Microphone 5042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 501 in case of a phone call mode.
The electronic device 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or the backlight when the electronic device 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 505 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 506 is used to display information input by a user or information provided to the user. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 is operable to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on touch panel 5071 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). Touch panel 5071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, physical keyboards, function keys (e.g., volume control keys, switch keys, etc.), trackballs, mice, joysticks, and so forth, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 510 to determine a type of touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of touch event. Although in fig. 6, the touch panel 5071 and the display panel 5061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and an external device.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory 509 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 volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509, and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 510.
The electronic device 500 may also include a power supply 511 (e.g., a battery) for powering the various components, and preferably the power supply 511 may be logically connected to the processor 510 via a power management system that performs functions such as managing charging, discharging, and power consumption.
In addition, the electronic device 500 includes some functional modules, which are not shown, and will not be described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (13)

1. An information switching processing method, characterized in that the method comprises:
responding to the change of target information of a client, acquiring a target switching item adapted to the current target information of the client, wherein the target switching item is adapted by a server from N switching items according to the current target information of the client, and each switching item in the N switching items is not intersected; the target information comprises M information dimensions, wherein an upper-lower relationship exists between any one of the M information dimensions and at least one other information dimension, M is a positive integer greater than 1, and the target switching item is information switching under at least one information dimension;
and adjusting an information tag corresponding to the target information in the client based on the target switching item.
2. The method according to claim 1, wherein the step of obtaining the target handover item adapted by the current target information of the client in response to the change of the target information of the client comprises:
responding to the change of target information of a client, and acquiring a switching instruction sent by a server aiming at the target information; the switching instruction comprises N switching items, the switching items are not intersected, the switching items are information switching under at least one information dimension, and N is a positive integer;
And acquiring a target switching item adapted to the current target information of the client from the switching instruction.
3. The method according to claim 1, wherein the step of obtaining the target handover item adapted by the current target information of the client in response to the change of the target information of the client comprises:
responding to the change of target information of a client, acquiring current target information of the client, and uploading the current target information to a server;
acquiring a switching instruction sent by the server aiming at the target information, wherein the switching instruction comprises the target switching item, the target switching item is obtained by the server in an adaptation mode from N switching items according to the current target information of the client, each switching item in the N switching items is not intersected, the switching item is information switching under at least one information dimension, and N is a positive integer.
4. A method according to any of claims 1-3, wherein the step of adjusting an information tag in the client corresponding to the target information based on the target handover item comprises:
rendering a prompt popup aiming at the target switching item at the client, wherein the prompt popup at least comprises a target control for confirming switching;
And in response to receiving triggering operation of a user on the target control in the client, adjusting an information label corresponding to the target information in the client.
5. A method according to any one of claims 1-3, wherein the value of M is 2, the value of N is any positive integer from 1 to 4, and the M information dimensions include a city dimension and a county dimension, or a county dimension and a township dimension.
6. The method of claim 5, wherein the switching item includes at least one of X to XY, a first switching item including any one of X to X ', X to X ' Y, a second switching item including any one of XY to X, XY to XY ', X ' Y to X, and a third switching item including any one of XY to X ' Y ', X to Y, and X representing any one of the information items in the first information dimension, XY representing any one of the information items in the second information dimension that is superior to X, X ' representing another information item in the first information dimension that is different from X, X ' representing any one of the information items in the second information dimension that is superior to X ', and X ' Y ' representing another information item in the second information dimension that is different from Y.
7. An information switching processing method, characterized in that the method comprises:
acquiring a switching request sent by a client, wherein the switching request is sent under the condition that target information of the client is changed, the target information comprises M information dimensions, and an upper-lower relationship exists between any one of the M information dimensions and at least another information dimension, wherein M is a positive integer greater than 1;
filtering the initially set switching items to obtain N switching items which are not intersected with each other, wherein N is a positive integer, and the switching items are information switching under at least one information dimension;
and acquiring target switching items adapted to the client from the N switching items according to the current target information of the client so as to adjust information labels corresponding to the target information in the client based on the target switching items.
8. The method according to claim 7, wherein the step of obtaining the target handover item adapted to the client from the N handover items according to the current target information of the client includes:
and generating a switching instruction aiming at the target information based on the N switching items, and sending the switching instruction to the client so that the client can acquire the target switching item adapted to the current target information of the client from the switching instruction, and adjusting an information tag corresponding to the target information in the client based on the target switching item.
9. The method according to claim 7, wherein the step of obtaining the target handover item adapted to the client from the N handover items according to the current target information of the client includes:
acquiring current target information of the client carried by the switching request, and acquiring target switching items adapted to the client from the N switching items according to the current target information;
and generating a switching instruction aiming at the target information based on the target switching item and sending the switching instruction to the client so that the client can acquire the target switching item adapted to the current target information of the client from the switching instruction, and adjusting an information tag corresponding to the target information in the client based on the target switching item.
10. An information switching processing apparatus, characterized by comprising:
the first switching item adapting module is used for responding to the change of the target information of the client, acquiring a target switching item adapted to the current target information of the client, wherein the target switching item is adapted by a server from N switching items according to the current target information of the client, and each switching item in the N switching items is not intersected; the target information comprises M information dimensions, wherein an upper-lower relationship exists between any one of the M information dimensions and at least one other information dimension, M is a positive integer greater than 1, and the target switching item is information switching under at least one information dimension;
And the information switching processing module is used for adjusting the information tag corresponding to the target information in the client based on the target switching item.
11. An information switching processing apparatus, characterized by comprising:
a switching request receiving module, configured to obtain a switching request sent by a client, where the switching request is sent when target information of the client changes, the target information includes M information dimensions, and an upper-lower relationship exists between any one of the M information dimensions and at least another information dimension, where M is a positive integer greater than 1;
the switching item filtering module is used for filtering the initially set switching items to obtain N switching items which are not intersected with each other, wherein N is a positive integer, and the switching items are information switching under at least one information dimension;
and the second switching item adapting module is used for acquiring the target switching item adapted by the client from the N switching items according to the current target information of the client so as to adjust the information label corresponding to the target information in the client based on the target switching item.
12. An electronic device, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the information switching processing method according to any one of claims 1 to 9.
13. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the information switching processing method according to any one of claims 1 to 9.
CN202110352844.2A 2021-03-31 2021-03-31 Information switching processing method and device, electronic equipment and storage medium Active CN113158085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110352844.2A CN113158085B (en) 2021-03-31 2021-03-31 Information switching processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110352844.2A CN113158085B (en) 2021-03-31 2021-03-31 Information switching processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113158085A CN113158085A (en) 2021-07-23
CN113158085B true CN113158085B (en) 2023-06-13

Family

ID=76886340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110352844.2A Active CN113158085B (en) 2021-03-31 2021-03-31 Information switching processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113158085B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017172496A1 (en) * 2016-03-29 2017-10-05 Microsoft Technology Licensing, Llc Tabs in system task switchers
WO2018113524A1 (en) * 2016-12-21 2018-06-28 广州阿里巴巴文学信息技术有限公司 Information stream displaying method, system, and user terminal
CN110072228A (en) * 2019-04-29 2019-07-30 努比亚技术有限公司 A kind of method for switching network, terminal and computer readable storage medium
CN111723843A (en) * 2020-05-15 2020-09-29 五八有限公司 Sign-in method, device, electronic equipment and storage medium
CN112364217A (en) * 2020-10-15 2021-02-12 北京五八信息技术有限公司 Information display method and device, electronic equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883318A (en) * 2010-06-23 2010-11-10 宇龙计算机通信科技(深圳)有限公司 Method and mobile terminal for updating region related information according to geographical position changes
CN102006566A (en) * 2010-11-15 2011-04-06 宇龙计算机通信科技(深圳)有限公司 Method, server and terminal for updating weather forecast city list
US10304037B2 (en) * 2013-02-04 2019-05-28 Haworth, Inc. Collaboration system including a spatial event map
CN108061558A (en) * 2017-11-30 2018-05-22 深圳中兴网信科技有限公司 intelligent route navigation method, device, server, mobile terminal and storage medium
CN110458596A (en) * 2019-06-21 2019-11-15 口碑(上海)信息技术有限公司 Choose method, apparatus and storage medium that region is launched in advertisement under line
CN112433654B (en) * 2020-12-02 2022-08-09 五八同城信息技术有限公司 Page display method and device, electronic equipment and computer readable medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017172496A1 (en) * 2016-03-29 2017-10-05 Microsoft Technology Licensing, Llc Tabs in system task switchers
WO2018113524A1 (en) * 2016-12-21 2018-06-28 广州阿里巴巴文学信息技术有限公司 Information stream displaying method, system, and user terminal
CN110072228A (en) * 2019-04-29 2019-07-30 努比亚技术有限公司 A kind of method for switching network, terminal and computer readable storage medium
CN111723843A (en) * 2020-05-15 2020-09-29 五八有限公司 Sign-in method, device, electronic equipment and storage medium
CN112364217A (en) * 2020-10-15 2021-02-12 北京五八信息技术有限公司 Information display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113158085A (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN111061574B (en) Object sharing method and electronic device
US20220300302A1 (en) Application sharing method and electronic device
US10768881B2 (en) Multi-screen interaction method and system in augmented reality scene
CN110196667B (en) Notification message processing method and terminal
CN109240577B (en) Screen capturing method and terminal
CN108897486B (en) Display method and terminal equipment
CN110166439B (en) Equipment sharing method, terminal, router and server
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN109451141B (en) Operation control method and related terminal
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN109407948B (en) Interface display method and mobile terminal
CN111090489B (en) Information control method and electronic equipment
CN110096203B (en) Screenshot method and mobile terminal
CN109684825B (en) Authority management method and terminal equipment
CN111124706A (en) Application program sharing method and electronic equipment
CN108009031B (en) Application program control method and mobile terminal
CN107765954B (en) Application icon updating method, mobile terminal and server
KR20220115102A (en) Application sharing method, first electronic device and computer-readable storage medium
CN110941469B (en) Application splitting creation method and terminal equipment thereof
CN111124569A (en) Application sharing method, electronic equipment and computer readable storage medium
CN111130995B (en) Image control method, electronic device, and storage medium
CN110471682B (en) Application program updating method and mobile terminal
CN111443968A (en) Screenshot method and electronic equipment

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